From 60d90692e487948b77edcac63acbef34254cea5b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 30 Aug 2013 16:06:19 +0300 Subject: remove duplicate variables. --- src/gui/serverdialog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui/serverdialog.cpp') diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp index 12ac7420a..26144c30d 100644 --- a/src/gui/serverdialog.cpp +++ b/src/gui/serverdialog.cpp @@ -157,11 +157,11 @@ public: ServersListBox(const Widget2 *const widget, ServersListModel *const model) : ListBox(widget, model, "serverslistbox.xml"), - mHighlightColor(getThemeColor(Theme::HIGHLIGHT)), mNotSupportedColor(getThemeColor(Theme::SERVER_VERSION_NOT_SUPPORTED)), mNotSupportedColor2(getThemeColor( Theme::SERVER_VERSION_NOT_SUPPORTED_OUTLINE)) { + mHighlightColor = getThemeColor(Theme::HIGHLIGHT); } void draw(gcn::Graphics *graphics) override @@ -243,7 +243,6 @@ public: return 2 * getFont()->getHeight() + 5; } private: - gcn::Color mHighlightColor; gcn::Color mNotSupportedColor; gcn::Color mNotSupportedColor2; }; -- cgit v1.2.3-70-g09d2