summaryrefslogtreecommitdiffstats
path: root/libkonq/konq_operations.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-12-14 16:55:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-12-14 16:55:11 -0600
commitf534a63b03828cb81eaaf676a404bfa862a4e0c1 (patch)
tree51aa218556241c9598e4b4fe7ce049c7c0b441ff /libkonq/konq_operations.cc
parentb88d1a9c266a40f669b8efbe709449e14872c78f (diff)
downloadtdebase-f534a63b03828cb81eaaf676a404bfa862a4e0c1.tar.gz
tdebase-f534a63b03828cb81eaaf676a404bfa862a4e0c1.zip
Minor code cleanup
Diffstat (limited to 'libkonq/konq_operations.cc')
-rw-r--r--libkonq/konq_operations.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/libkonq/konq_operations.cc b/libkonq/konq_operations.cc
index 6e899c604..ea89e39d0 100644
--- a/libkonq/konq_operations.cc
+++ b/libkonq/konq_operations.cc
@@ -177,9 +177,11 @@ void KonqOperations::copy( TQWidget * parent, int method, const KURL::List & sel
void KonqOperations::_del( int method, const KURL::List & _selectedURLs, ConfirmationType confirmation )
{
KURL::List selectedURLs;
- for (KURL::List::ConstIterator it = _selectedURLs.begin(); it != _selectedURLs.end(); ++it)
- if (KProtocolInfo::supportsDeleting(*it))
+ for (KURL::List::ConstIterator it = _selectedURLs.begin(); it != _selectedURLs.end(); ++it) {
+ if (KProtocolInfo::supportsDeleting(*it)) {
selectedURLs.append(*it);
+ }
+ }
if (selectedURLs.isEmpty()) {
delete this;
return;