From a9a3aa76610ba33d571c8d0aee963668a7a00961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be> Date: Sat, 1 Oct 2011 14:22:33 +0200 Subject: Added actions icon. diff --git a/Swift/QtUI/QtChatWindow.cpp b/Swift/QtUI/QtChatWindow.cpp index 07ff47e..50fe984 100644 --- a/Swift/QtUI/QtChatWindow.cpp +++ b/Swift/QtUI/QtChatWindow.cpp @@ -88,7 +88,8 @@ QtChatWindow::QtChatWindow(const QString &contact, QtChatTheme* theme, UIEventSt setSubject(""); subject_->setReadOnly(true); - actionButton_ = new QPushButton(tr("Actions"), this); + actionButton_ = new QPushButton(this); + actionButton_->setIcon(QIcon(":/icons/actions.png")); connect(actionButton_, SIGNAL(clicked()), this, SLOT(handleActionButtonClicked())); subjectLayout->addWidget(actionButton_); diff --git a/Swift/QtUI/Swift.qrc b/Swift/QtUI/Swift.qrc index 2f8d494..d2798e4 100644 --- a/Swift/QtUI/Swift.qrc +++ b/Swift/QtUI/Swift.qrc @@ -16,6 +16,7 @@ <file alias="icons/no-avatar.png">../resources/icons/no-avatar.png</file> <file alias="icons/tray-standard.png">../resources/icons/tray-standard.png</file> <file alias="icons/new-chat.png">../resources/icons/new-chat.png</file> + <file alias="icons/actions.png">../resources/icons/actions.png</file> <file alias="COPYING">../../COPYING</file> </qresource> </RCC> diff --git a/Swift/resources/icons/actions.png b/Swift/resources/icons/actions.png new file mode 100644 index 0000000..5959b5f Binary files /dev/null and b/Swift/resources/icons/actions.png differ -- cgit v0.10.2-6-g49f6