summaryrefslogtreecommitdiffstats
path: root/src/dlgpreferences.cpp
diff options
context:
space:
mode:
authorRJ Ryan <rryan@mixxx.org>2013-12-07 12:51:19 -0500
committerRJ Ryan <rryan@mixxx.org>2013-12-07 12:51:19 -0500
commit8d595e5ab9a22d8fd4100c7aa5cac4d0dedc18f1 (patch)
tree6197315fa7b35e55fbafdd0ed0a5babcc22d8fa3 /src/dlgpreferences.cpp
parent6eb4603ed53b75a79008b712a06f2fb63f1d8675 (diff)
Rename DlgPrefPlaylist to DlgPrefLibrary.
Diffstat (limited to 'src/dlgpreferences.cpp')
-rw-r--r--src/dlgpreferences.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/dlgpreferences.cpp b/src/dlgpreferences.cpp
index 4052cac7c0..5385cba087 100644
--- a/src/dlgpreferences.cpp
+++ b/src/dlgpreferences.cpp
@@ -42,7 +42,7 @@
#include "dlgpreferences.h"
#include "dlgprefsound.h"
#include "controllers/dlgprefcontrollers.h"
-#include "dlgprefplaylist.h"
+#include "dlgpreflibrary.h"
#include "dlgprefcontrols.h"
#include "dlgprefeq.h"
#include "dlgprefcrossfader.h"
@@ -83,8 +83,8 @@ DlgPreferences::DlgPreferences(MixxxApp * mixxx, SkinLoader* pSkinLoader,
#endif
m_wsound = new DlgPrefSound(this, soundman, pPlayerManager, pConfig);
addPageWidget(m_wsound);
- m_wplaylist = new DlgPrefPlaylist(this, pConfig, pLibrary);
- addPageWidget(m_wplaylist);
+ m_wlibrary = new DlgPrefLibrary(this, pConfig, pLibrary);
+ addPageWidget(m_wlibrary);
m_wcontrols = new DlgPrefControls(this, mixxx, pSkinLoader, pPlayerManager, pConfig);
addPageWidget(m_wcontrols);
m_weq = new DlgPrefEQ(this, pConfig);
@@ -141,11 +141,11 @@ void DlgPreferences::createIcons() {
m_pControllerTreeItem->setTextAlignment(0, Qt::AlignLeft | Qt::AlignVCenter);
m_pControllerTreeItem->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
- m_pPlaylistButton = new QTreeWidgetItem(contentsTreeWidget, QTreeWidgetItem::Type);
- m_pPlaylistButton->setIcon(0, QIcon(":/images/preferences/ic_preferences_library.png"));
- m_pPlaylistButton->setText(0, tr("Library"));
- m_pPlaylistButton->setTextAlignment(0, Qt::AlignLeft | Qt::AlignVCenter);
- m_pPlaylistButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
+ m_pLibraryButton = new QTreeWidgetItem(contentsTreeWidget, QTreeWidgetItem::Type);
+ m_pLibraryButton->setIcon(0, QIcon(":/images/preferences/ic_preferences_library.png"));
+ m_pLibraryButton->setText(0, tr("Library"));
+ m_pLibraryButton->setTextAlignment(0, Qt::AlignLeft | Qt::AlignVCenter);
+ m_pLibraryButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
m_pControlsButton = new QTreeWidgetItem(contentsTreeWidget, QTreeWidgetItem::Type);
m_pControlsButton->setIcon(0, QIcon(":/images/preferences/ic_preferences_interface.png"));
@@ -236,8 +236,8 @@ void DlgPreferences::changePage(QTreeWidgetItem* current, QTreeWidgetItem* previ
if (current == m_pSoundButton) {
m_wsound->slotUpdate();
switchToPage(m_wsound);
- } else if (current == m_pPlaylistButton) {
- switchToPage(m_wplaylist);
+ } else if (current == m_pLibraryButton) {
+ switchToPage(m_wlibrary);
} else if (current == m_pControlsButton) {
switchToPage(m_wcontrols);
} else if (current == m_pEqButton) {