Commit 94a98709 authored by Snehit Sah's avatar Snehit Sah Committed by Albert Astals Cid
Browse files

Update settings panel for Flatpak

Cannot set custom file manager when running KDF as Flatpak
so disable file manager selection widgets and display a
message below them.

Signed-off-by: Snehit Sah's avatarSnehit Sah <>
parent f40db6fb
Pipeline #128062 passed with stage
in 46 seconds
......@@ -79,6 +79,13 @@ KDFConfigWidget::KDFConfigWidget(QWidget *parent, bool init)
if(!QStandardPaths::locate(QStandardPaths::RuntimeLocation, QLatin1String("flatpak-info")).isEmpty())
mFlatpakLabel->setVisible( true );
mSystemFileManagerCheck->setEnabled( false );
mFileManagerEdit->setEnabled( false );
......@@ -80,6 +80,21 @@
<item row="3" column="1">
<widget class="KLineEdit" name="mFileManagerEdit"/>
<item row="4" column="0" colspan="2">
<widget class="QLabel" name="mFlatpakLabel">
<property name="visible">
<property name="font">
<property name="text">
<string>Custom file manager not supported when running as Flatpak.</string>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment