]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/insttrain/files/gcc3.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / insttrain / files / gcc3.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- src/top.cpp~gcc3
7 +++ src/top.cpp
8 @@ -18,6 +18,7 @@
9  //static char rcsid[] = "$Id: top.cpp,v 1.1 2002/10/06 04:17:00 bjj Rel $";
10  
11  #include "top.h"
12 +#include <qapplication.h>
13  #include <qmenubar.h>
14  #include <qpopupmenu.h>
15  #include <qframe.h>
16 @@ -90,7 +91,7 @@
17  }
18  
19  
20 -Top::Top(QWidget *parent = 0, const char *name = 0, WFlags f = WType_TopLevel)
21 +Top::Top(QWidget *parent, const char *name, WFlags f)
22         : QMainWindow(parent, name, f)
23  {
24         setCaption("Instrument Trainer");
25 @@ -172,7 +173,7 @@
26  void
27  Top::Exit()
28  {
29 -       exit(0);
30 +       qApp->quit();
31  }
32  
33  void