summaryrefslogtreecommitdiffstats
path: root/src/gui/messageform.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/messageform.ui.h')
-rw-r--r--src/gui/messageform.ui.h4
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