summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-09-30 00:46:44 +0200
committerGitHub <noreply@github.com>2020-09-30 00:46:44 +0200
commita1e3f6e27b1f6df1e2cfca558c1e8b89c97a9c98 (patch)
tree45bd2a389507e259bdba175db1e861a692b37d05
parentMerge pull request #4721 from lioncash/genfn (diff)
parentmain: Allow applets to display on top while fullscreen (diff)
downloadyuzu-a1e3f6e27b1f6df1e2cfca558c1e8b89c97a9c98.tar
yuzu-a1e3f6e27b1f6df1e2cfca558c1e8b89c97a9c98.tar.gz
yuzu-a1e3f6e27b1f6df1e2cfca558c1e8b89c97a9c98.tar.bz2
yuzu-a1e3f6e27b1f6df1e2cfca558c1e8b89c97a9c98.tar.lz
yuzu-a1e3f6e27b1f6df1e2cfca558c1e8b89c97a9c98.tar.xz
yuzu-a1e3f6e27b1f6df1e2cfca558c1e8b89c97a9c98.tar.zst
yuzu-a1e3f6e27b1f6df1e2cfca558c1e8b89c97a9c98.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu/main.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 6a2a88dd8..e3de0f0e1 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -288,8 +288,8 @@ GMainWindow::~GMainWindow() {
void GMainWindow::ControllerSelectorReconfigureControllers(
const Core::Frontend::ControllerParameters& parameters) {
QtControllerSelectorDialog dialog(this, parameters, input_subsystem.get());
- dialog.setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint |
- Qt::WindowSystemMenuHint);
+ dialog.setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowStaysOnTopHint |
+ Qt::WindowTitleHint | Qt::WindowSystemMenuHint);
dialog.setWindowModality(Qt::WindowModal);
dialog.exec();
@@ -307,8 +307,9 @@ void GMainWindow::ProfileSelectorSelectProfile() {
int index = 0;
if (manager.GetUserCount() != 1) {
QtProfileSelectionDialog dialog(this);
- dialog.setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint |
- Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint);
+ dialog.setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowStaysOnTopHint |
+ Qt::WindowTitleHint | Qt::WindowSystemMenuHint |
+ Qt::WindowCloseButtonHint);
dialog.setWindowModality(Qt::WindowModal);
if (dialog.exec() == QDialog::Rejected) {
@@ -331,8 +332,9 @@ void GMainWindow::ProfileSelectorSelectProfile() {
void GMainWindow::SoftwareKeyboardGetText(
const Core::Frontend::SoftwareKeyboardParameters& parameters) {
QtSoftwareKeyboardDialog dialog(this, parameters);
- dialog.setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint |
- Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint);
+ dialog.setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowStaysOnTopHint |
+ Qt::WindowTitleHint | Qt::WindowSystemMenuHint |
+ Qt::WindowCloseButtonHint);
dialog.setWindowModality(Qt::WindowModal);
if (dialog.exec() == QDialog::Rejected) {