diff options
author | Uwe Klotz <uklotz@mixxx.org> | 2018-04-17 20:29:16 +0200 |
---|---|---|
committer | Uwe Klotz <uklotz@mixxx.org> | 2018-04-18 08:56:36 +0200 |
commit | c10c7be2890d0ede449ca32f25f6614e63db63af (patch) | |
tree | 6cf29343c775ef8fd5fb8f9a0d1ab07af20644b7 /src/library/library.cpp | |
parent | 9bf67d08cf32398b05c6bb24dc52c3b9e4cded81 (diff) |
Distinguish between mouse and keyboard/encoder events in sidebar tree
Diffstat (limited to 'src/library/library.cpp')
-rw-r--r-- | src/library/library.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library/library.cpp b/src/library/library.cpp index 5a22fe9f84..20d447656c 100644 --- a/src/library/library.cpp +++ b/src/library/library.cpp @@ -210,6 +210,8 @@ void Library::bindSidebarWidget(WLibrarySidebar* pSidebarWidget) { connect(m_pSidebarModel, SIGNAL(selectIndex(const QModelIndex&)), pSidebarWidget, SLOT(selectIndex(const QModelIndex&))); connect(pSidebarWidget, SIGNAL(pressed(const QModelIndex&)), + m_pSidebarModel, SLOT(pressed(const QModelIndex&))); + connect(pSidebarWidget, SIGNAL(clicked(const QModelIndex&)), m_pSidebarModel, SLOT(clicked(const QModelIndex&))); // Lazy model: Let triangle symbol increment the model connect(pSidebarWidget, SIGNAL(expanded(const QModelIndex&)), |