diff options
Diffstat (limited to 'src/plugins/General/hal')
| -rw-r--r-- | src/plugins/General/hal/halfactory.cpp | 4 | ||||
| -rw-r--r-- | src/plugins/General/hal/halplugin.cpp | 4 | ||||
| -rw-r--r-- | src/plugins/General/hal/settingsdialog.cpp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/General/hal/halfactory.cpp b/src/plugins/General/hal/halfactory.cpp index 97456d1a1..139c80040 100644 --- a/src/plugins/General/hal/halfactory.cpp +++ b/src/plugins/General/hal/halfactory.cpp @@ -29,8 +29,8 @@ const GeneralProperties HalFactory::properties() const GeneralProperties properties; properties.name = tr("HAL Plugin"); properties.shortName = "hal"; - properties.hasAbout = TRUE; - properties.hasSettings = TRUE; + properties.hasAbout = true; + properties.hasSettings = true; properties.visibilityControl = FALSE; return properties; } diff --git a/src/plugins/General/hal/halplugin.cpp b/src/plugins/General/hal/halplugin.cpp index 1d40e0c8b..94364f44d 100644 --- a/src/plugins/General/hal/halplugin.cpp +++ b/src/plugins/General/hal/halplugin.cpp @@ -41,8 +41,8 @@ HalPlugin::HalPlugin(QObject *parent) //load settings QSettings settings(Qmmp::configFile(), QSettings::IniFormat); settings.beginGroup("HAL"); - m_detectCDA = settings.value("cda", TRUE).toBool(); - m_detectRemovable = settings.value("removable", TRUE).toBool(); + m_detectCDA = settings.value("cda", true).toBool(); + m_detectRemovable = settings.value("removable", true).toBool(); m_addTracks = FALSE; //do not load tracks on startup m_addFiles = FALSE; //find existing devices diff --git a/src/plugins/General/hal/settingsdialog.cpp b/src/plugins/General/hal/settingsdialog.cpp index 2c4062de1..45987a3d7 100644 --- a/src/plugins/General/hal/settingsdialog.cpp +++ b/src/plugins/General/hal/settingsdialog.cpp @@ -30,10 +30,10 @@ SettingsDialog::SettingsDialog(QWidget *parent) ui.setupUi(this); QSettings settings(Qmmp::configFile(), QSettings::IniFormat); settings.beginGroup("HAL"); - ui.cdGroupBox->setChecked(settings.value("cda", TRUE).toBool()); + ui.cdGroupBox->setChecked(settings.value("cda", true).toBool()); ui.addTracksCheckBox->setChecked(settings.value("add_tracks", FALSE).toBool()); ui.removeTracksCheckBox->setChecked(settings.value("remove_tracks", FALSE).toBool()); - ui.removableGroupBox->setChecked(settings.value("removable", TRUE).toBool()); + ui.removableGroupBox->setChecked(settings.value("removable", true).toBool()); ui.addFilesCheckBox->setChecked(settings.value("add_files", FALSE).toBool()); ui.removeFilesCheckBox->setChecked(settings.value("remove_files", FALSE).toBool()); settings.endGroup(); |
