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:
parent
e4f0f25feb
commit
ff71138079
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user