summaryrefslogtreecommitdiff
path: root/src/gui/npcintegerdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/npcintegerdialog.cpp')
-rw-r--r--src/gui/npcintegerdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/npcintegerdialog.cpp b/src/gui/npcintegerdialog.cpp
index 6b26349a..463f46ae 100644
--- a/src/gui/npcintegerdialog.cpp
+++ b/src/gui/npcintegerdialog.cpp
@@ -63,7 +63,7 @@ NpcIntegerDialog::NpcIntegerDialog():
setLocationRelativeTo(getParent());
}
-void NpcIntegerDialog::setRange(const int min, const int max)
+void NpcIntegerDialog::setRange(int min, int max)
{
mValueField->setRange(min, max);
}
@@ -109,7 +109,7 @@ void NpcIntegerDialog::action(const gcn::ActionEvent &event)
}
}
-void NpcIntegerDialog::setDefaultValue(const int value)
+void NpcIntegerDialog::setDefaultValue(int value)
{
mValueField->setDefaultValue(value);
}