diff options
author | wi <william.os4y@gmail.com> | 2015-04-20 21:53:25 +0200 |
---|---|---|
committer | wi <william.os4y@gmail.com> | 2015-04-20 21:53:25 +0200 |
commit | a33566d53dab6f5bf3d4b6663014b6b548446525 (patch) | |
tree | 6e57deaa6afc289cb6a51a523e2fb1530830bd9c /lumina-search/ConfigUI.cpp | |
parent | This is a complete adaptation of lumina-fileinfo. (diff) | |
parent | Add a special flag to prevent the lumina-open crash handler from starting up ... (diff) | |
download | lumina-a33566d53dab6f5bf3d4b6663014b6b548446525.tar.gz lumina-a33566d53dab6f5bf3d4b6663014b6b548446525.tar.bz2 lumina-a33566d53dab6f5bf3d4b6663014b6b548446525.zip |
Merge remote-tracking branch 'upstream/master' into deskEditor
Diffstat (limited to 'lumina-search/ConfigUI.cpp')
-rw-r--r-- | lumina-search/ConfigUI.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lumina-search/ConfigUI.cpp b/lumina-search/ConfigUI.cpp index 25c12246..ada82946 100644 --- a/lumina-search/ConfigUI.cpp +++ b/lumina-search/ConfigUI.cpp @@ -59,10 +59,7 @@ void ConfigUI::on_tool_adddirs_clicked(){ } void ConfigUI::on_tool_rmdir_clicked(){ - QList<QListWidgetItem*> sel = ui->list_excludes->selectedItems(); - for(int i=0; i<sel.length(); i++){ - ui->list_excludes->removeItemWidget(sel[i]); - } + qDeleteAll(ui->list_excludes->selectedItems()); } void ConfigUI::on_list_excludes_itemSelectionChanged(){ |