Skip to content

Commit

Permalink
Update for Qt 5.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jpgill86 committed Aug 30, 2015
1 parent c2bca4e commit 2582071
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/ctrl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/


#include <QtGui>
#include <QtWidgets>
#include <time.h>
#include <math.h>

Expand Down
2 changes: 1 addition & 1 deletion src/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/


#include <QtGui>
#include <QtWidgets>
#include <qwt_plot.h>
#include <qwt_plot_curve.h>
#include <SFMT.h>
Expand Down
2 changes: 2 additions & 0 deletions src/paint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ NernstPainter::resetPaint()
void
NernstPainter::initializeGL()
{
initializeOpenGLFunctions();

qglClearColor( Qt::white );
glShadeModel( GL_FLAT );
glEnable( GL_DEPTH_TEST );
Expand Down
3 changes: 2 additions & 1 deletion src/paint.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@


#include <QGLWidget>
#include <QOpenGLFunctions_1_1>


class NernstPainter : public QGLWidget
class NernstPainter : public QGLWidget, public QOpenGLFunctions_1_1
{
Q_OBJECT

Expand Down
2 changes: 1 addition & 1 deletion src/status.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/


#include <QtGui>
#include <QtWidgets>

#include "status.h"
#include "gui.h"
Expand Down

0 comments on commit 2582071

Please sign in to comment.