diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-05-01 21:27:16 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-05-01 21:27:16 +0200 |
commit | 2af03ba0d90a71a7bd1c9a0e2423d853aa3654e3 (patch) | |
tree | 00f166496881efe14f4964f5cb62d5ded2c18aeb /application | |
parent | aea51a08763d81ce82326b2b875ace8a0039fb1a (diff) | |
download | MultiMC-2af03ba0d90a71a7bd1c9a0e2423d853aa3654e3.tar MultiMC-2af03ba0d90a71a7bd1c9a0e2423d853aa3654e3.tar.gz MultiMC-2af03ba0d90a71a7bd1c9a0e2423d853aa3654e3.tar.lz MultiMC-2af03ba0d90a71a7bd1c9a0e2423d853aa3654e3.tar.xz MultiMC-2af03ba0d90a71a7bd1c9a0e2423d853aa3654e3.zip |
GH-930 Improve wording of instance delete dialog
Diffstat (limited to 'application')
-rw-r--r-- | application/MainWindow.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp index 4c9a53a6..2cd7b689 100644 --- a/application/MainWindow.cpp +++ b/application/MainWindow.cpp @@ -1462,9 +1462,8 @@ void MainWindow::on_actionDeleteInstance_triggered() if (m_selectedInstance) { auto response = CustomMessageBox::selectable( - this, tr("CAREFUL"), tr("This is permanent! Are you sure?\nAbout to delete: ") + - m_selectedInstance->name(), - QMessageBox::Question, QMessageBox::Yes | QMessageBox::No)->exec(); + 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(); if (response == QMessageBox::Yes) { m_selectedInstance->nuke(); |