summaryrefslogtreecommitdiff
path: root/src/gui/connectiondialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-27 01:27:11 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-27 01:27:11 +0300
commitde476bb95242e10c833394ef007728072eabe60f (patch)
tree033747127a7ea4e36de42cfc99fcee56ce915bbb /src/gui/connectiondialog.cpp
parenta33a8dc48761d7cb2b4c1c468e1e3b188bcbf709 (diff)
downloadmv-de476bb95242e10c833394ef007728072eabe60f.tar.gz
mv-de476bb95242e10c833394ef007728072eabe60f.tar.bz2
mv-de476bb95242e10c833394ef007728072eabe60f.tar.xz
mv-de476bb95242e10c833394ef007728072eabe60f.zip
Add const to more classes.
Diffstat (limited to 'src/gui/connectiondialog.cpp')
-rw-r--r--src/gui/connectiondialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/connectiondialog.cpp b/src/gui/connectiondialog.cpp
index b5357d83c..872f8ad76 100644
--- a/src/gui/connectiondialog.cpp
+++ b/src/gui/connectiondialog.cpp
@@ -34,7 +34,7 @@
#include "debug.h"
ConnectionDialog::ConnectionDialog(const std::string &text,
- State cancelState):
+ const State cancelState):
Window(""),
mCancelState(cancelState)
{
@@ -42,9 +42,9 @@ ConnectionDialog::ConnectionDialog(const std::string &text,
setMovable(false);
setMinWidth(0);
- ProgressIndicator *progressIndicator = new ProgressIndicator;
- gcn::Label *label = new Label(text);
- Button *cancelButton = new Button(_("Cancel"), "cancelButton", this);
+ ProgressIndicator *const progressIndicator = new ProgressIndicator;
+ gcn::Label *const label = new Label(text);
+ Button *const cancelButton = new Button(_("Cancel"), "cancelButton", this);
place(0, 0, progressIndicator);
place(0, 1, label);