From 971d2f02ef4c1368be1b307cafa7c2973a58ba0d Mon Sep 17 00:00:00 2001 From: DanielSvoboda Date: Sat, 6 Jul 2024 15:10:28 -0300 Subject: [PATCH] fix name file shortcut linux --- src/qt_gui/gui_context_menus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt_gui/gui_context_menus.h b/src/qt_gui/gui_context_menus.h index 99cec9fd5..761564461 100644 --- a/src/qt_gui/gui_context_menus.h +++ b/src/qt_gui/gui_context_menus.h @@ -311,7 +311,7 @@ private: QTextStream out(&shortcutFile); out << "[Desktop Entry]\n"; out << "Version=1.0\n"; - out << "Name=" << QFileInfo(targetPath).baseName() << "\n"; + out << "Name=" << QFileInfo(linkPath).baseName() << "\n"; out << "Exec=" << QCoreApplication::applicationFilePath() << " \"" << targetPath << "\"\n"; out << "Icon=" << iconPath << "\n"; out << "Terminal=false\n";