diff --git a/Source/Core/DolphinQt/DolphinQt.vcxproj b/Source/Core/DolphinQt/DolphinQt.vcxproj index 5d70070ea0..c472c2da84 100644 --- a/Source/Core/DolphinQt/DolphinQt.vcxproj +++ b/Source/Core/DolphinQt/DolphinQt.vcxproj @@ -493,7 +493,7 @@ - + diff --git a/Source/Core/DolphinQt/GameList/GameList.cpp b/Source/Core/DolphinQt/GameList/GameList.cpp index 64e9ae6774..b9bdafd335 100644 --- a/Source/Core/DolphinQt/GameList/GameList.cpp +++ b/Source/Core/DolphinQt/GameList/GameList.cpp @@ -162,7 +162,7 @@ void GameList::MakeListView() m_list->setTabKeyNavigation(false); m_list->setSelectionMode(QAbstractItemView::ExtendedSelection); m_list->setSelectionBehavior(QAbstractItemView::SelectRows); - m_list->setAlternatingRowColors(true); + m_list->setAlternatingRowColors(false); // This looks ugly with new QT m_list->setShowGrid(false); m_list->setSortingEnabled(true); m_list->setCurrentIndex(QModelIndex()); diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index 93ad16a59e..8b35da9f61 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -125,6 +125,8 @@ #include "DolphinQt/ToolBar.h" #include "DolphinQt/WiiUpdate.h" +#include "PropertiesDialog.h" + #include "InputCommon/ControllerInterface/ControllerInterface.h" #include "InputCommon/GCAdapter.h" @@ -697,7 +699,7 @@ void MainWindow::ConnectToolBar() connect(m_tool_bar, &ToolBar::SettingsPressed, this, &MainWindow::ShowSettingsWindow); connect(m_tool_bar, &ToolBar::ControllersPressed, this, &MainWindow::ShowControllersWindow); connect(m_tool_bar, &ToolBar::GraphicsPressed, this, &MainWindow::ShowGraphicsWindow); - + connect(m_tool_bar, &ToolBar::ViewGeckoCodes, this, &MainWindow::ShowGeckoCodes); connect(m_tool_bar, &ToolBar::StepPressed, m_code_widget, &CodeWidget::Step); connect(m_tool_bar, &ToolBar::StepOverPressed, m_code_widget, &CodeWidget::StepOver); connect(m_tool_bar, &ToolBar::StepOutPressed, m_code_widget, &CodeWidget::StepOut); @@ -2045,3 +2047,15 @@ void MainWindow::ShowRiivolutionBootWidget(const UICommon::GameFile& game) AddRiivolutionPatches(boot_params.get(), std::move(w.GetPatches())); StartGame(std::move(boot_params)); } + +void MainWindow::ShowGeckoCodes() +{ + if (!m_gecko_dialog) + { + m_gecko_dialog = new GeckoDialog(this); + InstallHotkeyFilter(m_gecko_dialog); + } + m_gecko_dialog->show(); + m_gecko_dialog->raise(); + m_gecko_dialog->activateWindow(); +}