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:
parent
4f0ec908ec
commit
953a2590e2
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user