diff options
Diffstat (limited to 'lumina-fm')
-rw-r--r-- | lumina-fm/MainUI.cpp | 8 | ||||
-rw-r--r-- | lumina-fm/widgets/DirWidget.cpp | 8 | ||||
-rw-r--r-- | lumina-fm/widgets/DirWidget.h | 2 |
3 files changed, 5 insertions, 13 deletions
diff --git a/lumina-fm/MainUI.cpp b/lumina-fm/MainUI.cpp index 9d921b7c..9ae681f0 100644 --- a/lumina-fm/MainUI.cpp +++ b/lumina-fm/MainUI.cpp @@ -778,9 +778,11 @@ void MainUI::RemoveFiles(QStringList list){ } //Verify permanent removal of file/dir - if(QMessageBox::Yes != QMessageBox::question(this, tr("Verify Removal"), tr("WARNING: This will permanently delete the file(s) from the system!")+"\n"+tr("Are you sure you want to continue?")+"\n\n"+names.join("\n"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No) ){ - return; //cancelled - } + QMessageBox dlgQ(QMessageBox::Question, tr("Verify Removal"), tr("WARNING: This will permanently delete the file(s) from the system!")+"\n"+tr("Are you sure you want to continue?"), QMessageBox::Yes | QMessageBox::No, this); + dlgQ.setDetailedText(tr("Items to be removed:")+"\n\n"+names.join("\n")); + dlgQ.exec(); + if(dlgQ.result() != QMessageBox::Yes){ return; } //cancelled + //Now remove the file/dir qDebug() << " - Delete: "<<paths; FODialog dlg(this); diff --git a/lumina-fm/widgets/DirWidget.cpp b/lumina-fm/widgets/DirWidget.cpp index dd41f299..0e0c404b 100644 --- a/lumina-fm/widgets/DirWidget.cpp +++ b/lumina-fm/widgets/DirWidget.cpp @@ -796,14 +796,6 @@ void DirWidget::openTerminal(){ emit LaunchTerminal(CDIR); } -void DirWidget::NewFile(){ - -} - -void DirWidget::NewDir(){ - -} - //Browser Functions void DirWidget::OpenContextMenu(){ //First generate the context menu based on the selection diff --git a/lumina-fm/widgets/DirWidget.h b/lumina-fm/widgets/DirWidget.h index a7fe3cc3..2c971fd8 100644 --- a/lumina-fm/widgets/DirWidget.h +++ b/lumina-fm/widgets/DirWidget.h @@ -123,8 +123,6 @@ private slots: void fileCheckSums(); void fileProperties(); void openTerminal(); - void NewFile(); - void NewDir(); //Browser Functions |