From 1a088b85c6e1b476ed71d48febf7769b96ea2eb6 Mon Sep 17 00:00:00 2001 From: wwylele Date: Thu, 8 Oct 2015 11:52:10 +0800 Subject: [PATCH] oops --- src/citra_qt/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index c5bc2711a..80a98d3f3 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -355,7 +355,7 @@ void GMainWindow::UpdateRecentFiles() { } void GMainWindow::OnGameListLoadFile(QString game_path) { - BootGame(game_path.toLocal8bit().data()); + BootGame(game_path.toLocal8Bit().data()); } void GMainWindow::OnMenuLoadFile() { @@ -367,7 +367,7 @@ void GMainWindow::OnMenuLoadFile() { settings.setValue("romsPath", QFileInfo(filename).path()); StoreRecentFile(filename); - BootGame(filename.toLocal8bit().data()); + BootGame(filename.toLocal8Bit().data()); } } @@ -379,7 +379,7 @@ void GMainWindow::OnMenuLoadSymbolMap() { if (!filename.isEmpty()) { settings.setValue("symbolsPath", QFileInfo(filename).path()); - LoadSymbolMap(filename.toLocal8bit().data()); + LoadSymbolMap(filename.toLocal8Bit().data()); } } @@ -400,7 +400,7 @@ void GMainWindow::OnMenuRecentFile() { QString filename = action->data().toString(); QFileInfo file_info(filename); if (file_info.exists()) { - BootGame(filename.toLocale8bit().data()); + BootGame(filename.toLocale8Bit().data()); StoreRecentFile(filename); // Put the filename on top of the list } else { // Display an error message and remove the file from the list.