diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2011-07-02 11:58:53 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2011-07-02 11:58:53 +0000 |
| commit | 1763b5effcfba6dd51f805c5948c9108f7c97348 (patch) | |
| tree | f617f836ed835bb11f6a81675a2513956bc624e5 /src/qmmpui | |
| parent | 87208d0c0953b953136b22e3d4f342984f0c138a (diff) | |
| download | qmmp-1763b5effcfba6dd51f805c5948c9108f7c97348.tar.gz qmmp-1763b5effcfba6dd51f805c5948c9108f7c97348.tar.bz2 qmmp-1763b5effcfba6dd51f805c5948c9108f7c97348.zip | |
fixed command line option, removed unused code
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2259 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui')
| -rw-r--r-- | src/qmmpui/general.cpp | 5 | ||||
| -rw-r--r-- | src/qmmpui/general.h | 4 | ||||
| -rw-r--r-- | src/qmmpui/generalhandler.cpp | 5 | ||||
| -rw-r--r-- | src/qmmpui/generalhandler.h | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/src/qmmpui/general.cpp b/src/qmmpui/general.cpp index f6078cd13..2c9bef7c4 100644 --- a/src/qmmpui/general.cpp +++ b/src/qmmpui/general.cpp @@ -74,11 +74,6 @@ void General::exit() emit exitCalled(); } -void General::toggleVisibility() -{ - emit toggleVisibilityCalled(); -} - QList<GeneralFactory*> *General::factories() { checkFactories(); diff --git a/src/qmmpui/general.h b/src/qmmpui/general.h index 700a021b2..4c80c3de1 100644 --- a/src/qmmpui/general.h +++ b/src/qmmpui/general.h @@ -76,10 +76,6 @@ public slots: * Tells the player to exit. */ void exit(); - /*! - * Toggles player window visibility. - */ - void toggleVisibility(); private: QMap <uint, QString> m_strValues; diff --git a/src/qmmpui/generalhandler.cpp b/src/qmmpui/generalhandler.cpp index 2a163b0c1..5494b4d22 100644 --- a/src/qmmpui/generalhandler.cpp +++ b/src/qmmpui/generalhandler.cpp @@ -163,6 +163,11 @@ QMenu *GeneralHandler::createMenu(MenuType type, const QString &title, QWidget * return 0; } +void GeneralHandler::toggleVisibility() +{ + emit toggleVisibilityCalled(); +} + GeneralHandler* GeneralHandler::instance() { return m_instance; diff --git a/src/qmmpui/generalhandler.h b/src/qmmpui/generalhandler.h index f7dcff968..209652434 100644 --- a/src/qmmpui/generalhandler.h +++ b/src/qmmpui/generalhandler.h @@ -96,6 +96,10 @@ public: */ QMenu *createMenu(MenuType type, const QString &title = QString(), QWidget *parent = 0); /*! + * Toggles player window visibility. + */ + void toggleVisibility(); + /*! * Returns a pointer to the object's instance. */ static GeneralHandler* instance(); |
