summaryrefslogtreecommitdiffstats
path: root/src/dlgpreferences.cpp
diff options
context:
space:
mode:
authorDaniel Schürmann <daschuer@mixxx.org>2016-01-03 23:42:22 +0100
committerDaniel Schürmann <daschuer@mixxx.org>2016-01-03 23:42:22 +0100
commitc5ef7198f7c251d6d42207acfa80f16c5931b5da (patch)
tree7d3135b981c657197d5e021c4ac366424c2acf80 /src/dlgpreferences.cpp
parentce7e57e14cb8a0e5ae60ffa1e22d8d14eba11ac1 (diff)
repair scons vamp=0 Bug #1530454
Diffstat (limited to 'src/dlgpreferences.cpp')
-rw-r--r--src/dlgpreferences.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dlgpreferences.cpp b/src/dlgpreferences.cpp
index dac3eb2e18..a4d2280c2c 100644
--- a/src/dlgpreferences.cpp
+++ b/src/dlgpreferences.cpp
@@ -109,10 +109,13 @@ DlgPreferences::DlgPreferences(MixxxMainWindow * mixxx, SkinLoader* pSkinLoader,
m_wcrossfader = new DlgPrefCrossfader(this, m_pConfig);
addPageWidget(m_wcrossfader);
+#ifdef __VAMP__
m_wbeats = new DlgPrefBeats(this, m_pConfig);
addPageWidget (m_wbeats);
m_wkey = new DlgPrefKey(this, m_pConfig);
addPageWidget(m_wkey);
+#endif
+
m_wreplaygain = new DlgPrefReplayGain(this, m_pConfig);
addPageWidget(m_wreplaygain);
m_wrecord = new DlgPrefRecord(this, m_pConfig);
@@ -210,7 +213,7 @@ void DlgPreferences::createIcons() {
m_pRecordingButton->setTextAlignment(0, Qt::AlignLeft | Qt::AlignVCenter);
m_pRecordingButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
-
+#ifdef __VAMP__
m_pBeatDetectionButton = new QTreeWidgetItem(contentsTreeWidget, QTreeWidgetItem::Type);
m_pBeatDetectionButton->setIcon(0, QIcon(":/images/preferences/ic_preferences_bpmdetect.png"));
m_pBeatDetectionButton->setText(0, tr("Beat Detection"));
@@ -222,6 +225,7 @@ void DlgPreferences::createIcons() {
m_pKeyDetectionButton->setText(0, tr("Key Detection"));
m_pKeyDetectionButton->setTextAlignment(0, Qt::AlignLeft | Qt::AlignVCenter);
m_pKeyDetectionButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
+#endif
m_pReplayGainButton = new QTreeWidgetItem(contentsTreeWidget, QTreeWidgetItem::Type);
m_pReplayGainButton->setIcon(0, QIcon(":/images/preferences/ic_preferences_replaygain.png"));