Remove redundant assignment
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
This commit is contained in:
@@ -57,7 +57,6 @@ void createInstanceShortcut(const Shortcut& shortcut, const QString& filePath)
|
|||||||
QString iconPath;
|
QString iconPath;
|
||||||
QStringList args;
|
QStringList args;
|
||||||
#if defined(Q_OS_MACOS)
|
#if defined(Q_OS_MACOS)
|
||||||
appPath = QApplication::applicationFilePath();
|
|
||||||
if (appPath.startsWith("/private/var/")) {
|
if (appPath.startsWith("/private/var/")) {
|
||||||
QMessageBox::critical(shortcut.parent, QObject::tr("Create Shortcut"),
|
QMessageBox::critical(shortcut.parent, QObject::tr("Create Shortcut"),
|
||||||
QObject::tr("The launcher is in the folder it was extracted from, therefore it cannot create shortcuts."));
|
QObject::tr("The launcher is in the folder it was extracted from, therefore it cannot create shortcuts."));
|
||||||
|
|||||||
Reference in New Issue
Block a user