[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kfile
From:       Andre Moreira Magalhaes <andrunko () yahoo ! com ! br>
Date:       2008-01-21 23:05:07
Message-ID: 1200956707.856525.18979.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 764492 by andrunko:

Fixed crash when using KDirOperator.


 M  +1 -1      kdiroperator.cpp  


--- trunk/KDE/kdelibs/kfile/kdiroperator.cpp #764491:764492
@@ -1178,7 +1178,7 @@
             }
         }
     }
-    else if (event->type() == QEvent::MouseButtonRelease) {
+    else if ((event->type() == QEvent::MouseButtonRelease) && (d->preview != 0)) {
         const QModelIndex hoveredIndex = \
                d->itemView->indexAt(d->itemView->viewport()->mapFromGlobal(QCursor::pos()));
                
         const QModelIndex focusedIndex = d->itemView->selectionModel() ? \
                d->itemView->selectionModel()->currentIndex()
                                                                        : \
QModelIndex();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic