From c16528763f319ea1ebf4b0f078dbffb681a7f2ea Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Wed, 7 Sep 2011 01:48:44 +0200 Subject: [PATCH] Fix regression where windowTitle was set empty --- src/tomahawkdesktopwindow.h | 3 --- src/tomahawkwindow.h | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/tomahawkdesktopwindow.h b/src/tomahawkdesktopwindow.h index 3633116a1..c5f502293 100644 --- a/src/tomahawkdesktopwindow.h +++ b/src/tomahawkdesktopwindow.h @@ -117,9 +117,6 @@ private: PlaylistModel* m_queueModel; QueueView* m_queueView; AnimatedSplitter* m_sidebar; - - Tomahawk::result_ptr m_currentTrack; - QString m_windowTitle; }; #endif // TOMAHAWKDESKTOPWINDOW_H diff --git a/src/tomahawkwindow.h b/src/tomahawkwindow.h index b027fbcaa..7f1db19d8 100644 --- a/src/tomahawkwindow.h +++ b/src/tomahawkwindow.h @@ -50,10 +50,10 @@ private slots: virtual void minimize(); virtual void maximize(); -private: +protected: + QString m_windowTitle; TomahawkTrayIcon* m_trayIcon; Tomahawk::result_ptr m_currentTrack; - QString m_windowTitle; }; #endif // TOMAHAWKWINDOW_H