X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainpage.cpp;h=f9d06d57c3fa5443bacb8ee7cf93a01a05e198a9;hp=4838e251fb573d57ce433bb07ce873525ee61f3e;hb=a65f42197839da536975b3e2858eedcef420035f;hpb=d980ae4852fc633213802565b9127c9966f9249b diff --git a/src/qtui/mainpage.cpp b/src/qtui/mainpage.cpp index 4838e251..f9d06d57 100644 --- a/src/qtui/mainpage.cpp +++ b/src/qtui/mainpage.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2019 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -18,15 +18,17 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ +#include "mainpage.h" + #include #include #include #include #include -#include "mainpage.h" -#include "coreconnectdlg.h" #include "client.h" +#include "coreconnectdlg.h" +#include "icon.h" MainPage::MainPage(QWidget *parent) : QWidget(parent) { @@ -37,7 +39,7 @@ MainPage::MainPage(QWidget *parent) : QWidget(parent) layout->addWidget(label); if (Quassel::runMode() != Quassel::Monolithic) { - _connectButton = new QPushButton(QIcon::fromTheme("network-connect"), tr("Connect to Core...")); + _connectButton = new QPushButton(icon::get("network-connect"), tr("Connect to Core...")); _connectButton->setEnabled(Client::coreConnection()->state() == CoreConnection::Disconnected); connect(Client::coreConnection(), SIGNAL(stateChanged(CoreConnection::ConnectionState)), this, SLOT(coreConnectionStateChanged()));