aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Ui/skinned/actionmanager.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2011-08-02 16:18:24 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2011-08-02 16:18:24 +0000
commitf40087159b9efbc39859e60a8efb3fa0763c6078 (patch)
tree5dc5cdad98ce056deec0080457459cf822353db2 /src/plugins/Ui/skinned/actionmanager.cpp
parente94c89ff724da90c161b3ca4034148123dc1db39 (diff)
downloadqmmp-f40087159b9efbc39859e60a8efb3fa0763c6078.tar.gz
qmmp-f40087159b9efbc39859e60a8efb3fa0763c6078.tar.bz2
qmmp-f40087159b9efbc39859e60a8efb3fa0763c6078.zip
updated about dialog
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2285 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/skinned/actionmanager.cpp')
-rw-r--r--src/plugins/Ui/skinned/actionmanager.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/Ui/skinned/actionmanager.cpp b/src/plugins/Ui/skinned/actionmanager.cpp
index 2c8bcaed4..44e655e74 100644
--- a/src/plugins/Ui/skinned/actionmanager.cpp
+++ b/src/plugins/Ui/skinned/actionmanager.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2010 by Ilya Kotov *
+ * Copyright (C) 2010-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -22,6 +22,7 @@
#include <QAction>
#include <QIcon>
#include <QFile>
+#include <QApplication>
#include <qmmp/qmmp.h>
#include "actionmanager.h"
@@ -86,12 +87,13 @@ ActionManager::ActionManager(QObject *parent) :
tr("P"), "view-list-details");
//other
m_actions[SETTINGS] = createAction(tr("&Settings"), "show_settings", tr("Ctrl+P"), "configure");
- m_actions[ABOUT] = createAction(tr("&About"), "about", "", ":/32x32/qmmp.png");
+ m_actions[ABOUT] = createAction(tr("&About"), "about", "");
m_actions[ABOUT_QT] = createAction(tr("&About Qt"), "about_qt", "");
m_actions[QUIT] = createAction(tr("&Exit"), "exit", tr("Ctrl+Q"), "application-exit");
m_settings->endGroup();
delete m_settings;
m_settings = 0;
+ m_actions[ABOUT]->setIcon(qApp->windowIcon());
}
ActionManager::~ActionManager()