summaryrefslogtreecommitdiffstats
path: root/src/library/columncache.cpp
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2019-01-05 16:06:29 -0600
committerBe <be@mixxx.org>2019-01-06 00:24:59 -0600
commit2ab7121f08fe12b628848720bb432af43aca0175 (patch)
treeafc0d8c9a6cdfd5a352241229a94e38fe82cbe50 /src/library/columncache.cpp
parentf161b34ae71be5c24496c193bcbd8d296c60997e (diff)
remove need for lambdas with connectValueChange(Request)
and remove old SLOT syntax for ControlProxy::connectValueChangeRequest. That was easier than getting it to play nice with the templating required for the new functor syntax.
Diffstat (limited to 'src/library/columncache.cpp')
-rw-r--r--src/library/columncache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/columncache.cpp b/src/library/columncache.cpp
index f3d2b2d2b3..891fa306ad 100644
--- a/src/library/columncache.cpp
+++ b/src/library/columncache.cpp
@@ -6,7 +6,7 @@
ColumnCache::ColumnCache(const QStringList& columns) {
m_pKeyNotationCP = new ControlProxy("[Library]", "key_notation", this);
- m_pKeyNotationCP->connectValueChanged(SLOT(slotSetKeySortOrder(double)));
+ m_pKeyNotationCP->connectValueChanged(this, &ColumnCache::slotSetKeySortOrder);
// ColumnCache is initialized before the preferences, so slotSetKeySortOrder is called
// for again if DlgPrefKey sets the [Library]. key_notation CO to a value other than