diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-11 18:46:25 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-11 18:46:25 +0000 |
| commit | 013ee07b55a3738b28b5d46324392d8498b50f2b (patch) | |
| tree | 50979d3872a15fd3e25a746418da0f56c8e8dadd /src/plugins/General/hal | |
| parent | 542c1d2d3a26ce23b1d0668011b420db231334d2 (diff) | |
| download | qmmp-013ee07b55a3738b28b5d46324392d8498b50f2b.tar.gz qmmp-013ee07b55a3738b28b5d46324392d8498b50f2b.tar.bz2 qmmp-013ee07b55a3738b28b5d46324392d8498b50f2b.zip | |
removed obsolete members
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1619 90c681e8-e032-0410-971d-27865f9a5e38
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(); |
