1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-17 11:10:31 +01:00

Fix open in file browser when inode/directory mimetype is set to thunar

Fixes #677
This commit is contained in:
Jonas Kvinge 2021-04-01 18:31:19 +02:00
parent 128223a28a
commit bddb371e31

View File

@ -397,7 +397,7 @@ void OpenInFileManager(const QString path, const QUrl &url) {
else if (command.startsWith("caja")) { else if (command.startsWith("caja")) {
proc.startDetached(command, QStringList() << command_params << "--no-desktop" << path); proc.startDetached(command, QStringList() << command_params << "--no-desktop" << path);
} }
else if (command.startsWith("pcmanfm")) { else if (command.startsWith("pcmanfm") || command.startsWith("thunar")) {
proc.startDetached(command, QStringList() << command_params << path); proc.startDetached(command, QStringList() << command_params << path);
} }
else { else {