diff --git a/part/part.cpp b/part/part.cpp index 627056f5db9244c83b12fa05f6de8483e934e3ba..87afb49bcffa1c0bcb0a7f8cc22f9e393b6223e8 100644 --- a/part/part.cpp +++ b/part/part.cpp @@ -226,7 +226,7 @@ void Part::setupView() this, SLOT(selectionChanged())); //TODO: fix an actual eventhandler - connect(m_view, SIGNAL(activated(const QModelIndex &)), + connect(m_view, SIGNAL(activated(QModelIndex)), this, SLOT(slotPreviewWithInternalViewer())); connect(m_view, SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(slotShowContextMenu()));