summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r--src/gui/widgets/window.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index 36372dcaa..c716445f3 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -92,11 +92,6 @@ Window::Window(const std::string &caption, const bool modal,
{
logger->log("Window::Window(\"%s\")", caption.c_str());
-#ifndef USE_INTERNALGUICHAN
- mDragOffsetX = 0;
- mDragOffsetY = 0;
-#endif
-
if (!windowContainer)
throw GCN_EXCEPTION("Window::Window(): no windowContainer set");