summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-30 16:06:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-30 16:59:12 +0300
commit60d90692e487948b77edcac63acbef34254cea5b (patch)
treec2ca72f720f835099bc65c2832d5c7df3d92abbd /src/gui/serverdialog.cpp
parent38fe5f43b5ac41e41debed4868e81b4b4bf839ac (diff)
downloadManaVerse-60d90692e487948b77edcac63acbef34254cea5b.tar.gz
ManaVerse-60d90692e487948b77edcac63acbef34254cea5b.tar.bz2
ManaVerse-60d90692e487948b77edcac63acbef34254cea5b.tar.xz
ManaVerse-60d90692e487948b77edcac63acbef34254cea5b.zip
remove duplicate variables.
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r--src/gui/serverdialog.cpp3
1 files changed, 1 insertions, 2 deletions
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;
};