Removed a phonon warning on maemo, added a debug trace for the launching path
This commit is contained in:
@@ -548,6 +548,8 @@ int main(int argc, char* argv[])
|
|||||||
QApplication a( argc, argv );
|
QApplication a( argc, argv );
|
||||||
QDir::setCurrent(QCoreApplication::applicationDirPath () );
|
QDir::setCurrent(QCoreApplication::applicationDirPath () );
|
||||||
|
|
||||||
|
qDebug() << "Current path : " << QCoreApplication::applicationDirPath ();
|
||||||
|
|
||||||
g_launcher = new JGameLauncher();
|
g_launcher = new JGameLauncher();
|
||||||
|
|
||||||
u32 flags = g_launcher->GetInitFlags();
|
u32 flags = g_launcher->GetInitFlags();
|
||||||
@@ -560,6 +562,8 @@ int main(int argc, char* argv[])
|
|||||||
g_glwidget = new JGEQtRenderer(NULL);
|
g_glwidget = new JGEQtRenderer(NULL);
|
||||||
g_glwidget->resize(ACTUAL_SCREEN_WIDTH, ACTUAL_SCREEN_HEIGHT);
|
g_glwidget->resize(ACTUAL_SCREEN_WIDTH, ACTUAL_SCREEN_HEIGHT);
|
||||||
|
|
||||||
|
a.setApplicationName(g_launcher->GetName());
|
||||||
|
|
||||||
QGLFormat::OpenGLVersionFlags glflags = g_glwidget->format().openGLVersionFlags();
|
QGLFormat::OpenGLVersionFlags glflags = g_glwidget->format().openGLVersionFlags();
|
||||||
|
|
||||||
#ifdef Q_WS_MAEMO_5
|
#ifdef Q_WS_MAEMO_5
|
||||||
|
|||||||
Reference in New Issue
Block a user