From ff71138079aaed1388f25cc3478a0ad8b6aaf649 Mon Sep 17 00:00:00 2001 From: Mateusz Kowalczyk Date: Sat, 23 Feb 2013 21:02:51 +0000 Subject: [PATCH] Change file deletion question dialogs to warnings. --- src/library/libraryview.cpp | 4 ++-- src/ui/mainwindow.cpp | 4 ++-- src/widgets/fileview.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/library/libraryview.cpp b/src/library/libraryview.cpp index ab1758529..e807836d2 100644 --- a/src/library/libraryview.cpp +++ b/src/library/libraryview.cpp @@ -605,8 +605,8 @@ void LibraryView::Organise() { } void LibraryView::Delete() { - if (QMessageBox::question(this, tr("Delete files"), - tr("These files will be deleted from disk, are you sure you want to continue?"), + if (QMessageBox::warning(this, tr("Delete files"), + tr("These files will be permanently deleted from disk, are you sure you want to continue?"), QMessageBox::Yes, QMessageBox::Cancel) != QMessageBox::Yes) return; diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index 640655e9f..7a521a12f 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -1876,8 +1876,8 @@ void MainWindow::PlaylistOrganiseSelected(bool copy) { void MainWindow::PlaylistDelete() { // Note: copied from LibraryView::Delete - if (QMessageBox::question(this, tr("Delete files"), - tr("These files will be deleted from disk, are you sure you want to continue?"), + if (QMessageBox::warning(this, tr("Delete files"), + tr("These files will be permanently deleted from disk, are you sure you want to continue?"), QMessageBox::Yes, QMessageBox::Cancel) != QMessageBox::Yes) return; diff --git a/src/widgets/fileview.cpp b/src/widgets/fileview.cpp index 4df62f69a..7fd83d9ac 100644 --- a/src/widgets/fileview.cpp +++ b/src/widgets/fileview.cpp @@ -184,8 +184,8 @@ void FileView::Delete(const QStringList& filenames) { if (filenames.isEmpty()) return; - if (QMessageBox::question(this, tr("Delete files"), - tr("These files will be deleted from disk, are you sure you want to continue?"), + if (QMessageBox::warning(this, tr("Delete files"), + tr("These files will be permanently deleted from disk, are you sure you want to continue?"), QMessageBox::Yes, QMessageBox::Cancel) != QMessageBox::Yes) return;