mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-20 18:34:58 +00:00
Minor Qt GUI update (#363)
* Minor Qt GUI update * Update gui_context_menus.h * Update gui_context_menus.h * Update game_info.cpp
This commit is contained in:
parent
6d0a763145
commit
21462523de
19 changed files with 63 additions and 48 deletions
|
@ -165,12 +165,12 @@ public:
|
|||
if (createShortcutLinux(linkPath, ebootPath, iconPath)) {
|
||||
#endif
|
||||
QMessageBox::information(
|
||||
nullptr, "Shortcut Creation",
|
||||
QString("Shortcut created successfully:\n %1").arg(linkPath));
|
||||
nullptr, "Shortcut creation",
|
||||
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.");
|
||||
|
@ -183,11 +183,11 @@ public:
|
|||
if (createShortcutLinux(linkPath, ebootPath, iconPath)) {
|
||||
#endif
|
||||
QMessageBox::information(
|
||||
nullptr, "Shortcut Creation",
|
||||
QString("Shortcut created successfully:\n %1").arg(linkPath));
|
||||
nullptr, "Shortcut creation",
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue