Skip to content

Commit ee864df

Browse files
committed
Do not use FileChooser portal if xdg-desktop-portal is not available
1 parent d5a01ea commit ee864df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common/gnomehintssettings.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ GnomeHintsSettings::GnomeHintsSettings()
182182
if (fileChooserPortalVersion < 3) {
183183
m_canUseFileChooserPortal = false;
184184
}
185+
} else {
186+
m_canUseFileChooserPortal = false;
185187
}
186188
});
187189
}

0 commit comments

Comments
 (0)