From 1408f763a090243e0b995357f2a5cc34dd18576d Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Thu, 20 Dec 2012 11:12:50 +0100 Subject: [PATCH 1/2] dont ifdef slots, it looks like moc get confused here --- src/TomahawkWindow.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/TomahawkWindow.h b/src/TomahawkWindow.h index b76e35713..3807869ca 100644 --- a/src/TomahawkWindow.h +++ b/src/TomahawkWindow.h @@ -148,10 +148,9 @@ private slots: void toggleMenuBar(); void balanceToolbar(); -#ifdef Q_OS_WIN + void audioStateChanged( AudioState newState, AudioState oldState ); void updateWindowsLoveButton(); -#endif private: void loadSettings(); From 08f63b1534e03b5da012ca2b2a7287bd395e937a Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Thu, 20 Dec 2012 11:16:31 +0100 Subject: [PATCH 2/2] fixed ifdef --- src/TomahawkWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TomahawkWindow.cpp b/src/TomahawkWindow.cpp index 11c5a2172..a36ed0b66 100644 --- a/src/TomahawkWindow.cpp +++ b/src/TomahawkWindow.cpp @@ -721,6 +721,8 @@ TomahawkWindow::winEvent( MSG* msg, long* result ) } +#endif // Q_OS_WIN + void TomahawkWindow::audioStateChanged( AudioState newState, AudioState oldState ) { @@ -789,8 +791,6 @@ TomahawkWindow::updateWindowsLoveButton() #endif // HAVE_THUMBBUTTON } -#endif - void TomahawkWindow::onHistoryBackAvailable( bool avail )