Add fixme comment for no SSD detection

Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
Signed-off-by: Leo <leo3758@riseup.net>
This commit is contained in:
Leo 2023-06-25 10:11:58 -03:00 committed by GitHub
parent 4f0ec908ec
commit 953a2590e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -221,6 +221,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
setInstanceActionsEnabled(false); setInstanceActionsEnabled(false);
// add a close button at the end of the main toolbar when running on gamescope / steam deck // add a close button at the end of the main toolbar when running on gamescope / steam deck
// FIXME: detect if we don't have server side decorations instead
if (qgetenv("XDG_CURRENT_DESKTOP") == "gamescope") { if (qgetenv("XDG_CURRENT_DESKTOP") == "gamescope") {
ui->mainToolBar->addAction(ui->actionCloseWindow); ui->mainToolBar->addAction(ui->actionCloseWindow);
} }