]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphincontroller.cpp
* Don't ignore the maximum file size for previews in the information panel. Correspon...
[dolphin.git] / src / dolphincontroller.cpp
index fe8c426f33acb544173441406ac883f46fa3196b..2f267560a4a203b895b55b7a2cac14a97d24229c 100644 (file)
@@ -59,7 +59,7 @@ void DolphinController::setItemView(QAbstractItemView* view)
 
     if (m_itemView != 0) {
         m_zoomLevel = ZoomLevelInfo::zoomLevelForIconSize(m_itemView->iconSize());
-        
+
         // TODO: this is a workaround until  Qt-issue 176832 has been fixed
         connect(m_itemView, SIGNAL(pressed(const QModelIndex&)),
                 this, SLOT(updateMouseButtonState()));
@@ -134,7 +134,7 @@ void DolphinController::handleKeyPressEvent(QKeyEvent* event)
     if (trigger) {
         const QModelIndexList indexList = selModel->selectedIndexes();
         foreach (const QModelIndex& index, indexList) {
-            triggerItem(index);
+            emit itemTriggered(itemForIndex(index));
         }
     }
 }