1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-18 20:34:39 +01:00

Change file deletion question dialogs to warnings.

This commit is contained in:
Mateusz Kowalczyk 2013-02-23 21:02:51 +00:00 committed by David Sansome
parent e4f0f25feb
commit ff71138079
3 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;