[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdevelop/lib/qextmdi/src
From:       Amilcar do Carmo Lucas <amilcar () ida ! ing ! tu-bs ! de>
Date:       2003-09-03 15:18:15
[Download RAW message or body]

CVS commit by aclu: 

Fix compilation for gcc 2.95.3

Thanks to Iztok Kobal for the patch  (iztok.kobal in iskrasistemi.si)


  M +12 -1     kdockwidget_compat.cpp   1.7


--- kdevelop/lib/qextmdi/src/kdockwidget_compat.cpp  #1.6:1.7
@@ -146,5 +146,10 @@ public:
   void restoreFromForcedFixedSize(KDockWidget *dw);
 
-  Orientation orientation(){return m_orientation;}
+  Orientation orientation()
+#if __GNUC__ >= 3
+// gcc-2.95.3 won't swallow this so leave it out
+  {return m_orientation;}
+#endif
+;
 
 protected:
@@ -191,4 +196,10 @@ private:
   bool moveMouse;
 };
+
+#if __GNUC__ < 3
+  KDockSplitter::Orientation KDockSplitter::orientation() {
+    return m_orientation;
+  }
+#endif
 
 /**


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic