diff options
| author | spxtr <spextear@gmail.com> | 2015-12-21 19:46:03 -0800 |
|---|---|---|
| committer | spxtr <spextear@gmail.com> | 2015-12-21 19:46:03 -0800 |
| commit | 21032d76a88936a94d25da1ee749731616de209e (patch) | |
| tree | 9324674873dac96cd05252fac692fd79ce20685e /Source/Core/DolphinQt2/MainWindow.cpp | |
| parent | ce6de78854f6d22a1d7b0b4a7c7ef170eba2789d (diff) | |
Use const reference, explicit, final, and override in DQt2.
Diffstat (limited to 'Source/Core/DolphinQt2/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/MainWindow.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp index 9431d02218..aa5ed5e8d4 100644 --- a/Source/Core/DolphinQt2/MainWindow.cpp +++ b/Source/Core/DolphinQt2/MainWindow.cpp @@ -2,13 +2,10 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. -#include <QAction> #include <QDir> #include <QFile> #include <QFileDialog> #include <QIcon> -#include <QLineEdit> -#include <QMenu> #include <QMessageBox> #include "Core/BootManager.h" @@ -194,7 +191,7 @@ void MainWindow::ScreenShot() Core::SaveScreenShot(); } -void MainWindow::StartGame(QString path) +void MainWindow::StartGame(const QString& path) { // If we're running, only start a new game once we've stopped the last. if (Core::GetState() != Core::CORE_UNINITIALIZED) |
