aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-10-22 14:23:44 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-10-22 14:23:44 +0000
commit31be39a03cf81c7d52284ee2efe45de96ed38048 (patch)
tree70677a274533461dda8578b318115ab1f4e0694d /src/app
parentef045ae3bae1ed0e5373020c2462cc6b7509d441 (diff)
downloadqmmp-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')
-rw-r--r--src/app/main.cpp10
-rw-r--r--src/app/qmmpstarter.cpp10
2 files changed, 10 insertions, 10 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp
index e3abae563..b649ee35d 100644
--- a/src/app/main.cpp
+++ b/src/app/main.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 *
@@ -26,7 +26,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <qmmp/qmmp.h>
-#include "lxdesupport.h"
#include "qmmpapplication.h"
#include "qmmpstarter.h"
@@ -36,13 +35,6 @@ int main(int argc, char *argv[])
a.setApplicationName("qmmp");
a.setWindowIcon(QIcon(":/32x32/qmmp.png"));
- LXDESupport::load(); //load lxde icons
-
-#ifdef Q_OS_WIN
- QIcon::setThemeSearchPaths(QStringList() << qApp->applicationDirPath() + "/themes/");
- QIcon::setThemeName("oxygen");
-#endif
-
QTranslator translator;
QString locale = Qmmp::systemLanguageID();
translator.load(QString(":/qmmp_") + locale);
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();