From ef0abefb687da1d17f68aef44f2e33b71e47a092 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 8 May 2010 18:27:43 +0000 Subject: initial xdg icons support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1723 90c681e8-e032-0410-971d-27865f9a5e38 --- src/ui/preseteditor.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/ui/preseteditor.cpp') diff --git a/src/ui/preseteditor.cpp b/src/ui/preseteditor.cpp index 1b55a229d..8e5249c0c 100644 --- a/src/ui/preseteditor.cpp +++ b/src/ui/preseteditor.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006 by Ilya Kotov * + * Copyright (C) 2006-2010 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -17,8 +17,9 @@ * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#include "eqpreset.h" +#include +#include "eqpreset.h" #include "preseteditor.h" PresetEditor::PresetEditor(QWidget *parent) @@ -28,6 +29,8 @@ PresetEditor::PresetEditor(QWidget *parent) setAttribute(Qt::WA_DeleteOnClose); connect(ui.loadButton,SIGNAL(clicked()),SLOT(loadPreset())); connect(ui.deleteButton,SIGNAL(clicked()),SLOT(deletePreset())); + ui.loadButton->setIcon(QIcon::fromTheme("document-open")); + ui.deleteButton->setIcon(QIcon::fromTheme("edit-delete")); } -- cgit v1.2.3-13-gbd6f