summaryrefslogtreecommitdiff
path: root/packages/zroadmap/files/qt2-fixes-r1.patch
blob: 24fe1c9bdbb1436117ae1de3df4c8f8df6d30da2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

#
# Signed off by Michael 'Mickey' Lauer <mickey@Vanille.de>
#

--- src/qt/qt_main.cc~qt2-fixes-r1.patch
+++ src/qt/qt_main.cc
@@ -137,7 +137,7 @@
       switch (orientation[0]) {
          case 't':
          case 'T': break;
-
+#ifndef QWS
          case 'b':
          case 'B': moveDockWindow (toolBar, DockBottom); break;
 
@@ -146,7 +146,7 @@
 
          case 'r':
          case 'R': moveDockWindow (toolBar, DockRight); break;
-
+#endif
          default: roadmap_log (ROADMAP_FATAL,
                         "Invalid toolbar orientation %s", orientation);
       }
--- src/qt/Makefile~qt2-fixes-r1.patch
+++ src/qt/Makefile
@@ -19,7 +19,7 @@
 
 ifeq ($(DESKTOP),QPE)
    CFLAGS += -I$(QTDIR)/include -DQWS
-   LIBS += -lqte -lqpe
+   LIBS += -lqpe
    INSTALLDIR=$(QTDIR)
 endif