diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-01-25 07:11:20 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-01-25 07:12:50 +0100 |
commit | cdfb3795afa7f9f86f1dca35a424b25115e10f37 (patch) | |
tree | f7d728acfb66a08c8e94aecf659bf9c279cb72fb /src/yuzu/main.cpp | |
parent | Merge pull request #9662 from abouvier/cmake-llvm (diff) | |
download | yuzu-cdfb3795afa7f9f86f1dca35a424b25115e10f37.tar yuzu-cdfb3795afa7f9f86f1dca35a424b25115e10f37.tar.gz yuzu-cdfb3795afa7f9f86f1dca35a424b25115e10f37.tar.bz2 yuzu-cdfb3795afa7f9f86f1dca35a424b25115e10f37.tar.lz yuzu-cdfb3795afa7f9f86f1dca35a424b25115e10f37.tar.xz yuzu-cdfb3795afa7f9f86f1dca35a424b25115e10f37.tar.zst yuzu-cdfb3795afa7f9f86f1dca35a424b25115e10f37.zip |
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r-- | src/yuzu/main.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 571eacf9f..3fba802af 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -2758,8 +2758,7 @@ void GMainWindow::OnMenuInstallToNAND() { ui->action_Install_File_NAND->setEnabled(false); install_progress = new QProgressDialog(QString{}, tr("Cancel"), 0, total_size, this); - install_progress->setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint & - ~Qt::WindowMaximizeButtonHint); + install_progress->setWindowFlags(windowFlags() & ~Qt::WindowMaximizeButtonHint); install_progress->setAttribute(Qt::WA_DeleteOnClose, true); install_progress->setFixedWidth(installDialog.GetMinimumWidth() + 40); install_progress->show(); @@ -4456,6 +4455,9 @@ int main(int argc, char* argv[]) { } #endif + // Disables the "?" button on all dialogs. + QCoreApplication::setAttribute(Qt::AA_DisableWindowContextHelpButton); + // Enables the core to make the qt created contexts current on std::threads QCoreApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity); QApplication app(argc, argv); |