Browse Source

Remove Surface Viewer stub

nce_cpp
Jannik Vogel 8 years ago
parent
commit
e5ecb86d23
  1. 5
      src/yuzu/main.cpp
  2. 1
      src/yuzu/main.h
  3. 7
      src/yuzu/main.ui

5
src/yuzu/main.cpp

@ -143,9 +143,6 @@ void GMainWindow::InitializeWidgets() {
} }
void GMainWindow::InitializeDebugWidgets() { void GMainWindow::InitializeDebugWidgets() {
connect(ui.action_Create_Pica_Surface_Viewer, &QAction::triggered, this,
&GMainWindow::OnCreateGraphicsSurfaceViewer);
QMenu* debug_menu = ui.menu_View_Debugging; QMenu* debug_menu = ui.menu_View_Debugging;
#if MICROPROFILE_ENABLED #if MICROPROFILE_ENABLED
@ -599,8 +596,6 @@ void GMainWindow::OnToggleFilterBar() {
} }
} }
void GMainWindow::OnCreateGraphicsSurfaceViewer() {}
void GMainWindow::UpdateStatusBar() { void GMainWindow::UpdateStatusBar() {
if (emu_thread == nullptr) { if (emu_thread == nullptr) {
status_bar_update_timer.stop(); status_bar_update_timer.stop();

1
src/yuzu/main.h

@ -128,7 +128,6 @@ private slots:
void OnToggleFilterBar(); void OnToggleFilterBar();
void OnDisplayTitleBars(bool); void OnDisplayTitleBars(bool);
void ToggleWindowMode(); void ToggleWindowMode();
void OnCreateGraphicsSurfaceViewer();
void OnCoreError(Core::System::ResultStatus, std::string); void OnCoreError(Core::System::ResultStatus, std::string);
private: private:

7
src/yuzu/main.ui

@ -82,8 +82,6 @@
<property name="title"> <property name="title">
<string>Debugging</string> <string>Debugging</string>
</property> </property>
<addaction name="action_Create_Pica_Surface_Viewer"/>
<addaction name="separator"/>
</widget> </widget>
<addaction name="action_Single_Window_Mode"/> <addaction name="action_Single_Window_Mode"/>
<addaction name="action_Display_Dock_Widget_Headers"/> <addaction name="action_Display_Dock_Widget_Headers"/>
@ -191,11 +189,6 @@
<string>Selects a folder to display in the game list</string> <string>Selects a folder to display in the game list</string>
</property> </property>
</action> </action>
<action name="action_Create_Pica_Surface_Viewer">
<property name="text">
<string>Create Pica Surface Viewer</string>
</property>
</action>
</widget> </widget>
<resources/> <resources/>
</ui> </ui>
Loading…
Cancel
Save