]> cloud.milkyroute.net Git - dolphin.git/commitdiff
SVN_SILENT: removed debugging output
authorPeter Penz <peter.penz19@gmail.com>
Sat, 6 Dec 2008 20:01:58 +0000 (20:01 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Sat, 6 Dec 2008 20:01:58 +0000 (20:01 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=893545

src/folderexpander.cpp

index a5b6b35ee384903880e1aeab3525ce5920b500d4..e742972d3db512eb0f508c086f802310585d7047 100644 (file)
@@ -34,7 +34,6 @@
 #include <QtGui/QSortFilterProxyModel>
 
 #include <kdirmodel.h>
 #include <QtGui/QSortFilterProxyModel>
 
 #include <kdirmodel.h>
-#include <kdebug.h>
 
 FolderExpander::FolderExpander(QAbstractItemView *view, QSortFilterProxyModel *proxyModel) :
     QObject(view),
 
 FolderExpander::FolderExpander(QAbstractItemView *view, QSortFilterProxyModel *proxyModel) :
     QObject(view),
@@ -94,13 +93,6 @@ FolderExpander::~FolderExpander()
 void FolderExpander::viewScrolled()
 {
     if (m_autoExpandTriggerTimer->isActive())  {
 void FolderExpander::viewScrolled()
 {
     if (m_autoExpandTriggerTimer->isActive())  {
-        kDebug() << "Resetting time due to scrolling!"; 
-        // (Re-)set the timer while we're scrolling the view
-        // (or it's being scrolled by some external mechanism).
-        // TODO - experiment with this.  Cancelling the timer,
-        // or adding a "penalty" on top of AUTO_EXPAND_DELAY
-        // might work more nicely when drilling down through the sidebar
-        // tree.
         m_autoExpandTriggerTimer->start(AUTO_EXPAND_DELAY);
     }
 }
         m_autoExpandTriggerTimer->start(AUTO_EXPAND_DELAY);
     }
 }
@@ -123,8 +115,6 @@ void FolderExpander::autoExpandTimeout()
     if (itemToExpand.isNull()) {
         return;
     }
     if (itemToExpand.isNull()) {
         return;
     }
-    
-    kDebug() << "Need to expand: " << itemToExpand.targetUrl() << " isDir? = " << itemToExpand.isDir();
 
     if (itemToExpand.isDir()) {
         QTreeView *viewAsTreeView = qobject_cast<QTreeView*>(m_view);
 
     if (itemToExpand.isDir()) {
         QTreeView *viewAsTreeView = qobject_cast<QTreeView*>(m_view);