Browse Source

Merge branch 'pr2689'

pull/2693/head
tux3 10 years ago
parent
commit
db2dbf459b
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 6
      src/widget/widget.cpp

6
src/widget/widget.cpp

@ -119,6 +119,10 @@ void Widget::init() @@ -119,6 +119,10 @@ void Widget::init()
{
ui->setupUi(this);
QIcon themeIcon = QIcon::fromTheme("qtox");
if (!themeIcon.isNull())
setWindowIcon(themeIcon);
timer = new QTimer();
timer->start(1000);
offlineMsgTimer = new QTimer();
@ -427,7 +431,7 @@ void Widget::updateIcons() @@ -427,7 +431,7 @@ void Widget::updateIcons()
status = QStringLiteral("offline");
}
QIcon ico;
QIcon ico = QIcon::fromTheme("qtox-" + status);
if (ico.isNull())
{
QString color = Settings::getInstance().getLightTrayIcon() ? "light" : "dark";

Loading…
Cancel
Save