Update gui_context_menus.h

This commit is contained in:
Xphalnos 2024-08-04 14:11:52 +02:00 committed by GitHub
parent e6a294c1bd
commit cafbab1a2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -166,11 +166,11 @@ public:
#endif
QMessageBox::information(
nullptr, "Shortcut creation...",
QString("Shortcut created successfully !\n %1").arg(linkPath));
QString("Shortcut created successfully!\n %1").arg(linkPath));
} else {
QMessageBox::critical(
nullptr, "Error",
QString("Error creating shortcut !\n %1").arg(linkPath));
QString("Error creating shortcut!\n %1").arg(linkPath));
}
} else {
QMessageBox::critical(nullptr, "Error", "Failed to convert icon.");
@ -184,10 +184,10 @@ public:
#endif
QMessageBox::information(
nullptr, "Shortcut creation...",
QString("Shortcut created successfully !\n %1").arg(linkPath));
QString("Shortcut created successfully!\n %1").arg(linkPath));
} else {
QMessageBox::critical(nullptr, "Error",
QString("Error creating shortcut !\n %1").arg(linkPath));
QString("Error creating shortcut!\n %1").arg(linkPath));
}
}
}
@ -308,7 +308,7 @@ private:
QFile shortcutFile(linkPath);
if (!shortcutFile.open(QIODevice::WriteOnly | QIODevice::Text)) {
QMessageBox::critical(nullptr, "Error",
QString("Error creating shortcut !\n %1").arg(linkPath));
QString("Error creating shortcut!\n %1").arg(linkPath));
return false;
}