From e998621b1fe7d4583172c11206cad6e8fbea8607 Mon Sep 17 00:00:00 2001 From: Sacha Date: Sat, 12 Jan 2013 00:37:22 +1000 Subject: [PATCH] Only show native dialog for Symbian. Show Qt in credits to everything USING_QT_UI. --- android/jni/MenuScreens.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/jni/MenuScreens.cpp b/android/jni/MenuScreens.cpp index 0d788b454..732d9cd0b 100644 --- a/android/jni/MenuScreens.cpp +++ b/android/jni/MenuScreens.cpp @@ -169,7 +169,7 @@ void MenuScreen::render() { if (UIButton(GEN_ID, vlinear, w, "Load...", ALIGN_RIGHT)) { -#if defined(USING_QT_UI) && defined(USING_GLES2) +#if defined(USING_QT_UI) && defined(__SYMBIAN32__) QString fileName = QFileDialog::getOpenFileName(NULL, "Load ROM", g_Config.currentDirectory.c_str(), "PSP ROMs (*.iso *.cso *.pbp *.elf)"); if (QFile::exists(fileName)) { QDir newPath; @@ -451,7 +451,7 @@ static const char *credits[] = "Android SDK + NDK", #elif defined(BLACKBERRY) "Blackberry NDK", -#elif defined(__SYMBIAN32__) +#elif defined(USING_QT_UI) "Qt", #else "SDL",