aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/hal
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/hal')
-rw-r--r--src/plugins/General/hal/halplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/General/hal/halplugin.cpp b/src/plugins/General/hal/halplugin.cpp
index 98c06b2fc..90106b8b0 100644
--- a/src/plugins/General/hal/halplugin.cpp
+++ b/src/plugins/General/hal/halplugin.cpp
@@ -256,7 +256,7 @@ void HalPlugin::removePath(const QString &path)
int i = 0;
while (model->count() > 0 && i < model->count())
{
- if (model->item(i)->url ().startsWith(path))
+ if (model->item(i)->url().startsWith(path))
model->removeAt (i);
else
++i;