[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Patch: Stops kdevelop looping on startup
From: John Birch <John.Birch () xtra ! co ! nz>
Date: 2000-10-02 6:27:15
[Download RAW message or body]
This patch fixes kdevelop looping when starting, but I'm not sure why the
original didn't work.
I'm posting this because I'm hoping someone may be able to explain what the
problem is (I suspect some am_edit magic doesn't like this sort of thing) and
to warn you that this _may_ require you to cvs-clean kdeui directory to get
it to compile due to moc problems (I had some but it could have been caused
by my testing to find what the problem was)
If there's no objections I'll commit (my) tomorrow.
jbb
["kdockwidget.patch" (text/x-c++)]
Index: kdockwidget.h
===================================================================
RCS file: /home/kde/kdelibs/kdeui/kdockwidget.h,v
retrieving revision 1.28
diff -u -r1.28 kdockwidget.h
--- kdockwidget.h 2000/09/27 20:41:24 1.28
+++ kdockwidget.h 2000/10/02 06:14:22
@@ -999,13 +999,16 @@
* @author Max Judin (documentation: Falk Brettschneider).
* @version $Id: kdockwidget.h,v 1.28 2000/09/27 20:41:24 falkbr Exp $
*/
-#ifndef NO_KDE2
- #define QMainWindow KMainWindow
+#if defined NO_KDE2
+ #define KMainWindow QMainWindow
#endif
-class KDockMainWindow : public QMainWindow
+class KDockMainWindow : public KMainWindow
{
Q_OBJECT
-#undef QMainWindow
+
+#if defined NO_KDE2
+ #undef KMainWindow
+#endif
public:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic