]> cloud.milkyroute.net Git - dolphin.git/commitdiff
krazy fix: Use QString::clear() instead of assigning an empty string.
authorPeter Penz <peter.penz19@gmail.com>
Sat, 7 Aug 2010 18:26:22 +0000 (18:26 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Sat, 7 Aug 2010 18:26:22 +0000 (18:26 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=1160315

src/views/dolphincategorydrawer.cpp

index 59743b7f53e3166e5f502f6cbac537ea248352ad..3b24607726e23149547ef6de760dce95d14d1bea 100644 (file)
@@ -374,5 +374,5 @@ void DolphinCategoryDrawer::mouseMoved(const QModelIndex &index, const QRect &,
 void DolphinCategoryDrawer::mouseLeft(const QModelIndex &, const QRect &)
 {
     pos = QPoint();
-    category = QString();
+    category.clear();
 }