mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 05:15:46 -04:00
Various warning fixes
This commit is contained in:
@ -9,7 +9,6 @@ static void addBooleanTweakOption(QtHostInterface* host_interface, QTableWidget*
|
||||
std::string section, std::string key, bool default_value)
|
||||
{
|
||||
const int row = table->rowCount();
|
||||
const bool current_value = host_interface->GetBoolSettingValue(section.c_str(), key.c_str(), default_value);
|
||||
|
||||
table->insertRow(row);
|
||||
|
||||
@ -35,7 +34,6 @@ static void addIntRangeTweakOption(QtHostInterface* host_interface, QTableWidget
|
||||
int default_value)
|
||||
{
|
||||
const int row = table->rowCount();
|
||||
const bool current_value = host_interface->GetBoolSettingValue(section.c_str(), key.c_str(), default_value);
|
||||
|
||||
table->insertRow(row);
|
||||
|
||||
|
@ -1,10 +1,8 @@
|
||||
#include "audiosettingswidget.h"
|
||||
#include "common/audio_stream.h"
|
||||
#include "common/log.h"
|
||||
#include "settingsdialog.h"
|
||||
#include "settingwidgetbinder.h"
|
||||
#include <cmath>
|
||||
Log_SetChannel(AudioSettingsWidget);
|
||||
|
||||
AudioSettingsWidget::AudioSettingsWidget(QtHostInterface* host_interface, QWidget* parent, SettingsDialog* dialog)
|
||||
: QWidget(parent), m_host_interface(host_interface)
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include <QtWidgets/QMessageBox>
|
||||
|
||||
CheatCodeEditorDialog::CheatCodeEditorDialog(const QStringList& group_names, CheatCode* code, QWidget* parent)
|
||||
: m_code(code), QDialog(parent)
|
||||
: QDialog(parent), m_code(code)
|
||||
{
|
||||
m_ui.setupUi(this);
|
||||
setupAdditionalUi(group_names);
|
||||
|
@ -1,5 +1,4 @@
|
||||
#include "debuggermodels.h"
|
||||
#include "common/log.h"
|
||||
#include "core/cpu_core.h"
|
||||
#include "core/cpu_core_private.h"
|
||||
#include "core/cpu_disasm.h"
|
||||
@ -7,7 +6,6 @@
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtGui/QPalette>
|
||||
#include <QtWidgets/QApplication>
|
||||
Log_SetChannel(DebuggerModels);
|
||||
|
||||
static constexpr int NUM_COLUMNS = 5;
|
||||
static constexpr int STACK_RANGE = 128;
|
||||
|
Reference in New Issue
Block a user