diff options
Diffstat (limited to 'insttrain/files/gcc3.patch')
-rw-r--r-- | insttrain/files/gcc3.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/insttrain/files/gcc3.patch b/insttrain/files/gcc3.patch index e69de29bb2..878146ee3a 100644 --- a/insttrain/files/gcc3.patch +++ b/insttrain/files/gcc3.patch @@ -0,0 +1,33 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- src/top.cpp~gcc3 ++++ src/top.cpp +@@ -18,6 +18,7 @@ + //static char rcsid[] = "$Id$"; + + #include "top.h" ++#include <qapplication.h> + #include <qmenubar.h> + #include <qpopupmenu.h> + #include <qframe.h> +@@ -90,7 +91,7 @@ + } + + +-Top::Top(QWidget *parent = 0, const char *name = 0, WFlags f = WType_TopLevel) ++Top::Top(QWidget *parent, const char *name, WFlags f) + : QMainWindow(parent, name, f) + { + setCaption("Instrument Trainer"); +@@ -172,7 +173,7 @@ + void + Top::Exit() + { +- exit(0); ++ qApp->quit(); + } + + void |