changed everything from std to qt
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "..\Header\OutputDevice.h"
|
||||
#include <QRegExp>
|
||||
|
||||
#include "..\Header\Profiler.h"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// constructor/destructor
|
||||
@@ -140,6 +141,7 @@ void GeometryEngine::drawGeometry(QOpenGLShaderProgram *program)
|
||||
|
||||
void GeometryEngine::loadFile(QString filePath)
|
||||
{
|
||||
TIC("Start");
|
||||
// cleanup old stuff and recreate buffers
|
||||
clearData();
|
||||
m_arrayBuf.create();
|
||||
@@ -214,5 +216,7 @@ void GeometryEngine::loadFile(QString filePath)
|
||||
clearData();
|
||||
OutputDevice::getInstance()->print(QString(e.what()), 2);
|
||||
}
|
||||
|
||||
TOC("End");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user