From 31be39a03cf81c7d52284ee2efe45de96ed38048 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 22 Oct 2013 14:23:44 +0000 Subject: 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 --- src/app/qmmpstarter.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/app/qmmpstarter.cpp') 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 #include #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(); -- cgit v1.2.3-13-gbd6f