On modern TQt systems TQGLWidget will always be available, so remove the offending #ifdef that is breaking compilation

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/amarok@1228283 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent c22170b25a
commit bd72b76ea2

@ -17,7 +17,7 @@
#include <tqwidget.h> //baseclass #include <tqwidget.h> //baseclass
#include <vector> //included for convenience #include <vector> //included for convenience
#ifdef HAVE_QGLWIDGET //#ifdef HAVE_QGLWIDGET
#include <tqgl.h> //baseclass #include <tqgl.h> //baseclass
#ifdef Q_WS_MACX #ifdef Q_WS_MACX
#include <OpenGL/gl.h> //included for convenience #include <OpenGL/gl.h> //included for convenience
@ -26,10 +26,10 @@
#include <GL/gl.h> //included for convenience #include <GL/gl.h> //included for convenience
#include <GL/glu.h> //included for convenience #include <GL/glu.h> //included for convenience
#endif #endif
#else //#else
//this is a workaround for compile problems due to moc ////this is a workaround for compile problems due to moc
#define TQGLWidget QWidget //#define TQGLWidget QWidget
#endif //#endif
class TQEvent; class TQEvent;
class TQPaintEvent; class TQPaintEvent;

Loading…
Cancel
Save