[kde-doc-english] [trojita] src/Gui: GUI: Adding some icons to the composer

Jan Kundrát jkt at kde.org
Mon Jul 27 14:43:44 UTC 2015


Git commit 7bd16b24b817d5fcfd6f51c64c46e8d3695b994a by Jan Kundrát.
Committed on 26/07/2015 at 14:21.
Pushed by gerrit into branch 'master'.

GUI: Adding some icons to the composer

Oh, and hi from a live Gerrit demo. Please review this carefully.

Change-Id: I0a6ab272de9357abb258cced51e813d23b294ee8

M  +2    -0    src/Gui/ComposeWidget.cpp

http://commits.kde.org/trojita/7bd16b24b817d5fcfd6f51c64c46e8d3695b994a

diff --git a/src/Gui/ComposeWidget.cpp b/src/Gui/ComposeWidget.cpp
index 6961f92..fab0fa6 100644
--- a/src/Gui/ComposeWidget.cpp
+++ b/src/Gui/ComposeWidget.cpp
@@ -109,8 +109,10 @@ ComposeWidget::ComposeWidget(MainWindow *mainWindow, MSA::MSAFactory *msaFactory
     ui->setupUi(this);
     ui->attachmentsView->setComposer(m_submission->composer());
     sendButton = ui->buttonBox->addButton(tr("Send"), QDialogButtonBox::AcceptRole);
+    sendButton->setIcon(UiUtils::loadIcon(QLatin1String("mail-send")));
     connect(sendButton, SIGNAL(clicked()), this, SLOT(send()));
     cancelButton = ui->buttonBox->addButton(QDialogButtonBox::Cancel);
+    cancelButton->setIcon(UiUtils::loadIcon(QLatin1String("dialog-cancel")));
     connect(cancelButton, SIGNAL(clicked()), this, SLOT(close()));
     connect(ui->attachButton, SIGNAL(clicked()), this, SLOT(slotAskForFileAttachment()));
 


More information about the kde-doc-english mailing list