X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fcoreconnectionstatuswidget.cpp;h=844b0e2f78aafdbfddebc9a99bedcb6a76ef90e7;hb=1a45f16a9734820fba42fe1db3f38dd1eee49df6;hp=976feb398cbf2c2ad43688ad479f383ac7ceb21f;hpb=68878dc8366f2f4a0afe132847aad9a51a80cdbf;p=quassel.git diff --git a/src/qtui/coreconnectionstatuswidget.cpp b/src/qtui/coreconnectionstatuswidget.cpp index 976feb39..844b0e2f 100644 --- a/src/qtui/coreconnectionstatuswidget.cpp +++ b/src/qtui/coreconnectionstatuswidget.cpp @@ -20,9 +20,8 @@ #include "coreconnectionstatuswidget.h" -#include - #include "client.h" +#include "icon.h" #include "signalproxy.h" CoreConnectionStatusWidget::CoreConnectionStatusWidget(CoreConnection *connection, QWidget *parent) @@ -80,11 +79,11 @@ void CoreConnectionStatusWidget::connectionStateChanged(CoreConnection::Connecti { if (state >= CoreConnection::Connected) { if (coreConnection()->isEncrypted()) { - ui.sslLabel->setPixmap(QIcon::fromTheme("security-high").pixmap(16)); + ui.sslLabel->setPixmap(icon::get("security-high").pixmap(16)); ui.sslLabel->setToolTip(tr("The connection to your core is encrypted with SSL.")); } else { - ui.sslLabel->setPixmap(QIcon::fromTheme("security-low").pixmap(16)); + ui.sslLabel->setPixmap(icon::get("security-low").pixmap(16)); ui.sslLabel->setToolTip(tr("The connection to your core is not encrypted.")); } ui.sslLabel->show();