From b1503b202043a577720e28969b74cca6f9c954f8 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Mon, 25 May 2015 20:34:09 +0200 Subject: Remove every trailing whitespace from the project (but externals). --- src/citra_qt/CMakeLists.txt | 6 +++--- src/citra_qt/bootmanager.cpp | 2 +- src/citra_qt/bootmanager.h | 2 +- src/citra_qt/debugger/callstack.cpp | 2 +- src/citra_qt/main.cpp | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/citra_qt') diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt index efccdbec..c0577938 100644 --- a/src/citra_qt/CMakeLists.txt +++ b/src/citra_qt/CMakeLists.txt @@ -89,15 +89,15 @@ if (Qt5_FOUND AND MSVC) ) set(DLL_DEST "${CMAKE_BINARY_DIR}/bin/$/") set(PLATFORMS ${DLL_DEST}platforms/) - + # windows commandline expects the / to be \ so switch them string(REPLACE "/" "\\" Qt5_DLL_DIR ${Qt5_DLL_DIR}) string(REPLACE "/" "\\" Qt5_PLATFORMS_DIR ${Qt5_PLATFORMS_DIR}) string(REPLACE "/" "\\" DLL_DEST ${DLL_DEST}) string(REPLACE "/" "\\" PLATFORMS ${PLATFORMS}) - + # /NJH /NJS /NDL /NFL /NC /NS /NP - Silence any output - # cmake adds an extra check for command success which doesn't work too well with robocopy + # cmake adds an extra check for command success which doesn't work too well with robocopy # so trick it into thinking the command was successful with the || cmd /c "exit /b 0" add_custom_command(TARGET citra-qt POST_BUILD COMMAND robocopy ${Qt5_DLL_DIR} ${DLL_DEST} ${Qt5_DLLS} /NJH /NJS /NDL /NFL /NC /NS /NP || cmd /c "exit /b 0" diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp index 72b55e94..3db09c65 100644 --- a/src/citra_qt/bootmanager.cpp +++ b/src/citra_qt/bootmanager.cpp @@ -57,7 +57,7 @@ void EmuThread::run() { Core::SingleStep(); emit DebugModeEntered(); yieldCurrentThread(); - + was_active = false; } else { std::unique_lock lock(running_mutex); diff --git a/src/citra_qt/bootmanager.h b/src/citra_qt/bootmanager.h index 16809eaa..47512431 100644 --- a/src/citra_qt/bootmanager.h +++ b/src/citra_qt/bootmanager.h @@ -80,7 +80,7 @@ signals: * @warning When connecting to this signal from other threads, make sure to specify either Qt::QueuedConnection (invoke slot within the destination object's message thread) or even Qt::BlockingQueuedConnection (additionally block source thread until slot returns) */ void DebugModeEntered(); - + /** * Emitted right before the CPU continues execution * diff --git a/src/citra_qt/debugger/callstack.cpp b/src/citra_qt/debugger/callstack.cpp index 94e20471..6799ce84 100644 --- a/src/citra_qt/debugger/callstack.cpp +++ b/src/citra_qt/debugger/callstack.cpp @@ -39,7 +39,7 @@ void CallstackWidget::OnDebugModeEntered() { ret_addr = Memory::Read32(addr); call_addr = ret_addr - 4; //get call address??? - + if (Memory::GetPointer(call_addr) == nullptr) break; diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index f6010459..8041816a 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -127,7 +127,7 @@ GMainWindow::GMainWindow() : emu_thread(nullptr) ui.action_Use_Hardware_Renderer->setChecked(Settings::values.use_hw_renderer); SetHardwareRendererEnabled(ui.action_Use_Hardware_Renderer->isChecked()); - + ui.action_Single_Window_Mode->setChecked(settings.value("singleWindowMode", true).toBool()); ToggleWindowMode(); -- cgit v1.2.3