summaryrefslogtreecommitdiff
path: root/src/gui/connectiondialog.cpp
diff options
context:
space:
mode:
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);