diff options
author | TheKodeToad <TheKodeToad@proton.me> | 2022-12-17 09:26:06 +0000 |
---|---|---|
committer | TheKodeToad <TheKodeToad@proton.me> | 2022-12-24 08:59:55 +0000 |
commit | cbe5af235ca2fc990efa0a2db9e4951f127f0131 (patch) | |
tree | eb35f954eef847fdbe4db686db7814e5c2c6523e /launcher/ui/GuiUtil.cpp | |
parent | ee003cd9ee433a073393bdd47bd20d6d8cb38ca2 (diff) | |
download | PrismLauncher-cbe5af235ca2fc990efa0a2db9e4951f127f0131.tar.gz PrismLauncher-cbe5af235ca2fc990efa0a2db9e4951f127f0131.tar.bz2 PrismLauncher-cbe5af235ca2fc990efa0a2db9e4951f127f0131.zip |
Make requested changes
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'launcher/ui/GuiUtil.cpp')
-rw-r--r-- | launcher/ui/GuiUtil.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/launcher/ui/GuiUtil.cpp b/launcher/ui/GuiUtil.cpp index 241354cb..6a22ec2f 100644 --- a/launcher/ui/GuiUtil.cpp +++ b/launcher/ui/GuiUtil.cpp @@ -64,13 +64,12 @@ QString GuiUtil::uploadPaste(const QString &name, const QString &text, QWidget * baseUrl = pasteCustomAPIBaseSetting; if (baseUrl.isValid()) { - auto response = CustomMessageBox::selectable(parentWidget, "Confirm Upload", + auto response = CustomMessageBox::selectable(parentWidget, QObject::tr("Confirm Upload"), QObject::tr("About to upload: %1\n" "Uploading to: %2\n" "You should double-check for personal information.\n\n" "Are you sure?") - .arg(name) - .arg(baseUrl.host()), + .arg(name, baseUrl.host()), QMessageBox::Warning, QMessageBox::Yes | QMessageBox::No, QMessageBox::No) ->exec(); |