summaryrefslogtreecommitdiffstats
path: root/gui/widgets/ServerStatus.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-12-04 01:05:49 +0100
committerPetr Mrázek <peterix@gmail.com>2014-12-07 22:55:29 +0100
commita060d79c123e98baad8f1ea48600bd7449c9c66a (patch)
treebf7cbc2c3d1e0b6ac5b89095d68b0b09a9de642f /gui/widgets/ServerStatus.h
parent28140b1db6ae93848ce58206285e882960700534 (diff)
downloadMultiMC-a060d79c123e98baad8f1ea48600bd7449c9c66a.tar
MultiMC-a060d79c123e98baad8f1ea48600bd7449c9c66a.tar.gz
MultiMC-a060d79c123e98baad8f1ea48600bd7449c9c66a.tar.lz
MultiMC-a060d79c123e98baad8f1ea48600bd7449c9c66a.tar.xz
MultiMC-a060d79c123e98baad8f1ea48600bd7449c9c66a.zip
GH-631, GH-658 Implement yellow status icon, refresh status icons in themes.
Diffstat (limited to 'gui/widgets/ServerStatus.h')
-rw-r--r--gui/widgets/ServerStatus.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/widgets/ServerStatus.h b/gui/widgets/ServerStatus.h
index 2244031b..1c6ae428 100644
--- a/gui/widgets/ServerStatus.h
+++ b/gui/widgets/ServerStatus.h
@@ -24,11 +24,12 @@ public slots:
private: /* methods */
void addLine();
void addStatus(QString key, QString name);
- void setStatus(QString key, bool value);
+ void setStatus(QString key, int value);
private: /* data */
QHBoxLayout * layout = nullptr;
QToolButton *m_statusRefresh = nullptr;
QMap<QString, IconLabel *> serverLabels;
QIcon goodIcon;
+ QIcon yellowIcon;
QIcon badIcon;
};