Make DBus desktop portal start automatically
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
a82af5aff8
commit
05cac6e738
2 changed files with 3 additions and 1 deletions
|
@ -131,6 +131,7 @@ void loadDialog()
|
|||
FileBrowserOptions opts;
|
||||
opts.startDir = dir.c_str();
|
||||
opts.saving = ui->saving = false;
|
||||
opts.title = "Open patch";
|
||||
ui->openFileBrowser(opts);
|
||||
});
|
||||
#endif
|
||||
|
@ -227,6 +228,7 @@ static void saveAsDialog(const bool uncompressed)
|
|||
FileBrowserOptions opts;
|
||||
opts.startDir = dir.c_str();
|
||||
opts.saving = ui->saving = true;
|
||||
opts.title = "Save patch";
|
||||
ui->savingUncompressed = uncompressed;
|
||||
ui->openFileBrowser(opts);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue