diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-01-19 21:47:03 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-01-19 21:47:03 +0000 |
commit | bed975413d03d7a3ad1b6e5b0793c98f1a89e271 (patch) | |
tree | fa369451996e1de275a77f8e4e8529608429249b /quitdialog.cpp | |
parent | added all icons to gpg4usb.qrc (diff) | |
download | gpg4usb-bed975413d03d7a3ad1b6e5b0793c98f1a89e271.tar.gz gpg4usb-bed975413d03d7a3ad1b6e5b0793c98f1a89e271.zip |
use ressource file for all icons and remove iconpath
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@766 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to '')
-rwxr-xr-x | quitdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quitdialog.cpp b/quitdialog.cpp index a04ca31..ecfb486 100755 --- a/quitdialog.cpp +++ b/quitdialog.cpp @@ -22,7 +22,7 @@ #include "quitdialog.h" -QuitDialog::QuitDialog(QWidget *parent, QHash<int, QString> unsavedDocs, QString iconPath) +QuitDialog::QuitDialog(QWidget *parent, QHash<int, QString> unsavedDocs) : QDialog(parent) { setWindowTitle(tr("Unsaved files")); @@ -68,7 +68,7 @@ QuitDialog::QuitDialog(QWidget *parent, QHash<int, QString> unsavedDocs, QString /* * Warnbox with icon and text */ - QPixmap *pixmap = new QPixmap(iconPath + "error.png"); + QPixmap *pixmap = new QPixmap(":error.png"); QLabel *warnicon = new QLabel(); warnicon->setPixmap(*pixmap); QLabel *warnlabel = new QLabel(tr("<h3>%1 files contain unsaved information.<br/>Save the changes before closing?</h3>").arg(row)); |