From 2af03ba0d90a71a7bd1c9a0e2423d853aa3654e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Fri, 1 May 2015 21:27:16 +0200 Subject: GH-930 Improve wording of instance delete dialog --- application/MainWindow.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'application/MainWindow.cpp') 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(); -- cgit v1.2.3