summaryrefslogtreecommitdiff
path: root/packages/roadmap/zroadmap-1.0.12/qt2-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/roadmap/zroadmap-1.0.12/qt2-fixes.patch')
-rw-r--r--packages/roadmap/zroadmap-1.0.12/qt2-fixes.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/roadmap/zroadmap-1.0.12/qt2-fixes.patch b/packages/roadmap/zroadmap-1.0.12/qt2-fixes.patch
new file mode 100644
index 0000000000..46b17b8cfb
--- /dev/null
+++ b/packages/roadmap/zroadmap-1.0.12/qt2-fixes.patch
@@ -0,0 +1,25 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- roadmap-1.0.12/src/qt/qt_main.cc~qt2-fixes
++++ roadmap-1.0.12/src/qt/qt_main.cc
+@@ -123,7 +123,7 @@
+ switch (orientation[0]) {
+ case 't':
+ case 'T': break;
+-
++#ifndef QWS
+ case 'b':
+ case 'B': moveDockWindow (toolBar, DockBottom); break;
+
+@@ -132,7 +132,7 @@
+
+ case 'r':
+ case 'R': moveDockWindow (toolBar, DockRight); break;
+-
++#endif
+ default: roadmap_log (ROADMAP_FATAL,
+ "Invalid toolbar orientation %s", orientation);
+ }