summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-13 23:10:58 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-13 23:10:58 +0300
commit6e5976f5fb99c99b4142ee2a8f8f81598559954d (patch)
tree824c01ef32c8d72059decbe3ac46fc80f48eab09
parentfafa76be86d659f7004e589a6fe55a0d53fed82f (diff)
downloadmv-6e5976f5fb99c99b4142ee2a8f8f81598559954d.tar.gz
mv-6e5976f5fb99c99b4142ee2a8f8f81598559954d.tar.bz2
mv-6e5976f5fb99c99b4142ee2a8f8f81598559954d.tar.xz
mv-6e5976f5fb99c99b4142ee2a8f8f81598559954d.zip
Move constant MAGIC_START_ID into textcommandeditor.cpp
-rw-r--r--src/gui/windows/textcommandeditor.cpp2
-rw-r--r--src/textcommand.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/textcommandeditor.cpp b/src/gui/windows/textcommandeditor.cpp
index 048752187..605a9d1df 100644
--- a/src/gui/windows/textcommandeditor.cpp
+++ b/src/gui/windows/textcommandeditor.cpp
@@ -42,6 +42,8 @@
#include "debug.h"
+const unsigned int MAGIC_START_ID = 340;
+
TextCommandEditor::TextCommandEditor(TextCommand *const command) :
// TRANSLATORS: command editor name
Window(_("Command Editor"), Modal_false, nullptr, "commandeditor.xml"),
diff --git a/src/textcommand.h b/src/textcommand.h
index 73a214a41..e76568b0e 100644
--- a/src/textcommand.h
+++ b/src/textcommand.h
@@ -31,8 +31,6 @@
#include "localconsts.h"
-const unsigned int MAGIC_START_ID = 340;
-
class Image;
/**