summaryrefslogtreecommitdiffstats
path: root/application/MainWindow.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-01-04 04:16:31 +0100
committerPetr Mrázek <peterix@gmail.com>2018-01-04 04:16:31 +0100
commitee341b78baf679ba7eac868ce72e313c8e49775f (patch)
treeb30dea55dd1d4041f5e9af09bcd694f0b3a5affa /application/MainWindow.cpp
parent9510a1bbf2ddf8b83e08f3828e594b3ee5f50463 (diff)
downloadMultiMC-ee341b78baf679ba7eac868ce72e313c8e49775f.tar
MultiMC-ee341b78baf679ba7eac868ce72e313c8e49775f.tar.gz
MultiMC-ee341b78baf679ba7eac868ce72e313c8e49775f.tar.lz
MultiMC-ee341b78baf679ba7eac868ce72e313c8e49775f.tar.xz
MultiMC-ee341b78baf679ba7eac868ce72e313c8e49775f.zip
GH-2089 update wording of the instance delete confirmation dialog
Diffstat (limited to 'application/MainWindow.cpp')
-rw-r--r--application/MainWindow.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp
index dc2379a7..20fd3ac2 100644
--- a/application/MainWindow.cpp
+++ b/application/MainWindow.cpp
@@ -1597,11 +1597,13 @@ void MainWindow::on_actionDeleteInstance_triggered()
{
return;
}
- auto response = CustomMessageBox::selectable(this, tr("CAREFUL!"), tr("About to delete: %1\nThis is permanent and will completely erase "
- "all data, even for tracked instances!\nAre you sure?")
- .arg(m_selectedInstance->name()),
- QMessageBox::Warning, QMessageBox::Yes | QMessageBox::No)
- ->exec();
+ auto response = CustomMessageBox::selectable(
+ this,
+ tr("CAREFUL!"),
+ tr("About to delete: %1\nThis is permanent and will completely delete the instance.\n\nAre you sure?").arg(m_selectedInstance->name()),
+ QMessageBox::Warning,
+ QMessageBox::Yes | QMessageBox::No
+ )->exec();
if (response == QMessageBox::Yes)
{
m_selectedInstance->nuke();