diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-10-22 14:23:44 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-10-22 14:23:44 +0000 |
| commit | 31be39a03cf81c7d52284ee2efe45de96ed38048 (patch) | |
| tree | 70677a274533461dda8578b318115ab1f4e0694d /src/app/qmmpstarter.cpp | |
| parent | ef045ae3bae1ed0e5373020c2462cc6b7509d441 (diff) | |
| download | qmmp-31be39a03cf81c7d52284ee2efe45de96ed38048.tar.gz qmmp-31be39a03cf81c7d52284ee2efe45de96ed38048.tar.bz2 qmmp-31be39a03cf81c7d52284ee2efe45de96ed38048.zip | |
removed some useless debug messages
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3817 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/app/qmmpstarter.cpp')
| -rw-r--r-- | src/app/qmmpstarter.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/app/qmmpstarter.cpp b/src/app/qmmpstarter.cpp index 4e740c493..af6d6b188 100644 --- a/src/app/qmmpstarter.cpp +++ b/src/app/qmmpstarter.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006-2012 by Ilya Kotov * + * Copyright (C) 2006-2013 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -36,6 +36,7 @@ #include <qmmpui/uiloader.h> #include <qmmpui/qmmpuisettings.h> #include "qmmpstarter.h" +#include "lxdesupport.h" #include "builtincommandlineoption.h" #ifdef Q_OS_WIN @@ -160,6 +161,13 @@ void QMMPStarter::startPlayer() connect(m_server, SIGNAL(newConnection()), SLOT(readCommand())); QStringList args = argString.split("\n", QString::SkipEmptyParts); + //load lxde icons + LXDESupport::load(); +#ifdef Q_OS_WIN + QIcon::setThemeSearchPaths(QStringList() << qApp->applicationDirPath() + "/themes/"); + QIcon::setThemeName("oxygen"); +#endif + //prepare libqmmp and libqmmpui libraries for usage m_player = new MediaPlayer(this); m_core = SoundCore::instance(); |
