Skip to content

Commit c370ffa

Browse files
authored
Merge pull request #67 from realnc/remove-xdg-qpa
Don't export QT_QPA_PLATFORMTHEME=xdgdesktopportal in the hook script
2 parents bae08f8 + 808c206 commit c370ffa

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/deployment.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,16 +98,11 @@ inline bool createAppRunHook(appdir::AppDir &appDir) {
9898
ofs << "# generated by linuxdeploy-plugin-qt" << std::endl
9999
<< std::endl
100100
<< "# try to make Qt apps more \"native looking\" on Gtk-based desktops, if possible" << std::endl
101-
<< "# on other desktops, use the XDG Desktop Portal plugin instead to get native dialogs" << std::endl
102101
<< "# see https://github.com/AppImage/AppImageKit/issues/977#issue-462374883" << std::endl
103-
<< "# and https://github.com/linuxdeploy/linuxdeploy-plugin-qt/pull/63" << std::endl
104102
<< "case \"${XDG_CURRENT_DESKTOP}\" in" << std::endl
105103
<< " *GNOME*|*gnome*|*XFCE*)" << std::endl
106104
<< " export QT_QPA_PLATFORMTHEME=" << (haveGtk3 ? "gtk3" : "gtk2") << std::endl
107105
<< " ;;" << std::endl
108-
<< " *)" << std::endl
109-
<< " export QT_QPA_PLATFORMTHEME=xdgdesktopportal" << std::endl
110-
<< " ;;" << std::endl
111106
<< "esac" << std::endl;
112107

113108
return true;

0 commit comments

Comments
 (0)