citra-emu
/
citra-canary
Archived
1
0
Fork 0

only enable menu visibility

This commit is contained in:
BreadFish64 2018-01-17 13:57:42 -06:00 committed by GitHub
parent ca96077601
commit 11d2825070
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 6 deletions

View File

@ -17,6 +17,7 @@
#include <QtWidgets> #include <QtWidgets>
#include "citra_qt/aboutdialog.h" #include "citra_qt/aboutdialog.h"
#include "citra_qt/bootmanager.h" #include "citra_qt/bootmanager.h"
#include "citra_qt/compatdb.h"
#include "citra_qt/configuration/config.h" #include "citra_qt/configuration/config.h"
#include "citra_qt/configuration/configure_dialog.h" #include "citra_qt/configuration/configure_dialog.h"
#include "citra_qt/debugger/graphics/graphics.h" #include "citra_qt/debugger/graphics/graphics.h"
@ -48,10 +49,6 @@
#include "core/loader/loader.h" #include "core/loader/loader.h"
#include "core/settings.h" #include "core/settings.h"
#ifdef CITRA_ENABLE_COMPATIBILITY_REPORTING
#include "citra_qt/compatdb.h"
#endif
#ifdef QT_STATICPLUGIN #ifdef QT_STATICPLUGIN
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin); Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin);
#endif #endif
@ -821,7 +818,6 @@ void GMainWindow::OnStopGame() {
} }
void GMainWindow::OnMenuReportCompatibility() { void GMainWindow::OnMenuReportCompatibility() {
#ifdef CITRA_ENABLE_COMPATIBILITY_REPORTING
if (!Settings::values.citra_token.empty() && !Settings::values.citra_username.empty()) { if (!Settings::values.citra_token.empty() && !Settings::values.citra_username.empty()) {
CompatDB compatdb{this}; CompatDB compatdb{this};
compatdb.exec(); compatdb.exec();
@ -832,7 +828,6 @@ void GMainWindow::OnMenuReportCompatibility() {
"account.<br><br/>To link your Citra account, go to Emulation \> Configuration \> " "account.<br><br/>To link your Citra account, go to Emulation \> Configuration \> "
"Web.")); "Web."));
} }
#endif
} }
void GMainWindow::ToggleFullscreen() { void GMainWindow::ToggleFullscreen() {