diff options
author | Michal Kubecek <mkubecek@suse.cz> | 2015-04-14 14:22:16 +0200 |
---|---|---|
committer | Michal Kubecek <mkubecek@suse.cz> | 2015-04-15 10:54:06 +0200 |
commit | 9159a6f9ea308404227f64998c284c482f58b162 (patch) | |
tree | 06b56d2bcfc813a4fd2dc07444162e58459196bd /src/gui/messageform.ui.h | |
parent | 4b85e25aa5ec624a299028a30bb625248beefedd (diff) | |
download | twinkle-9159a6f9ea308404227f64998c284c482f58b162.tar twinkle-9159a6f9ea308404227f64998c284c482f58b162.tar.gz twinkle-9159a6f9ea308404227f64998c284c482f58b162.tar.lz twinkle-9159a6f9ea308404227f64998c284c482f58b162.tar.xz twinkle-9159a6f9ea308404227f64998c284c482f58b162.zip |
Qt4 port step 6: QPixmap::fromMimeSource cleanup
Convert remaining uses of QPixmap::fromMimeSource() to
qPixmapFromMimeSource (will be rewritten to native Qt4 resources later).
Diffstat (limited to 'src/gui/messageform.ui.h')
-rw-r--r-- | src/gui/messageform.ui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/messageform.ui.h b/src/gui/messageform.ui.h index 0fc0f86..dba7848 100644 --- a/src/gui/messageform.ui.h +++ b/src/gui/messageform.ui.h @@ -443,7 +443,7 @@ void MessageForm::showAttachmentPopupMenu(const QString &attachment) { attachmentPopupMenu->clear(); - QIcon saveIcon(QPixmap::fromMimeSource("save_as.png")); + QIcon saveIcon(qPixmapFromMimeSource("save_as.png")); attachmentPopupMenu->insertItem(saveIcon, "Save as...", id++); #ifdef HAVE_KDE @@ -465,7 +465,7 @@ void MessageForm::showAttachmentPopupMenu(const QString &attachment) { attachmentPopupMenu->insertItem(iconSet, menuText, id++); } - QIcon openIcon(QPixmap::fromMimeSource("fileopen.png")); + QIcon openIcon(qPixmapFromMimeSource("fileopen.png")); attachmentPopupMenu->insertItem(openIcon, tr("Open with..."), id++); #endif |