mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed "Show in Folder" feature on Gnome 3.30+.
Parameter --no-desktop is deprecated and should not be used. Closes #5896.
This commit is contained in:
parent
ba8257ce64
commit
14ad7a2479
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ void UnsafeShowInFolder(const QString &filepath) {
|
||||||
arguments << "--select" << absolutePath;
|
arguments << "--select" << absolutePath;
|
||||||
} else if (output == qstr("nautilus.desktop") || output == qstr("org.gnome.Nautilus.desktop") || output == qstr("nautilus-folder-handler.desktop")) {
|
} else if (output == qstr("nautilus.desktop") || output == qstr("org.gnome.Nautilus.desktop") || output == qstr("nautilus-folder-handler.desktop")) {
|
||||||
command = qsl("nautilus");
|
command = qsl("nautilus");
|
||||||
arguments << "--no-desktop" << absolutePath;
|
arguments << absolutePath;
|
||||||
} else if (output == qstr("nemo.desktop")) {
|
} else if (output == qstr("nemo.desktop")) {
|
||||||
command = qsl("nemo");
|
command = qsl("nemo");
|
||||||
arguments << "--no-desktop" << absolutePath;
|
arguments << "--no-desktop" << absolutePath;
|
||||||
|
|
Loading…
Add table
Reference in a new issue