diff options
| author | Frank Reininghaus <[email protected]> | 2012-01-18 09:35:43 +0100 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2012-01-18 09:39:07 +0100 |
| commit | 375b35762dad7a06c47fbd918d0a9dc2989fa201 (patch) | |
| tree | 5be9c9a1d602075fb66440524aa54abf86d44784 /src/kitemviews | |
| parent | e96af0935132e7ce98e333769f14453ae2ebed6b (diff) | |
Fix typo, which caused a Qt runtime warning when closing Dolphin
(cherry picked from commit dbf0bfffa72c190ed1c8b406c65c9e67b6f65d4f)
Diffstat (limited to 'src/kitemviews')
| -rw-r--r-- | src/kitemviews/kitemlistcontainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kitemviews/kitemlistcontainer.cpp b/src/kitemviews/kitemlistcontainer.cpp index 930762e62..58f2e3cd6 100644 --- a/src/kitemviews/kitemlistcontainer.cpp +++ b/src/kitemviews/kitemlistcontainer.cpp @@ -173,7 +173,7 @@ void KItemListContainer::slotViewChanged(KItemListView* current, KItemListView* QGraphicsScene* scene = static_cast<QGraphicsView*>(viewport())->scene(); if (previous) { scene->removeItem(previous); - disconnect(current, SIGNAL(scrollOrientationChanged(Qt::Orientation,Qt::Orientation)), this, SLOT(slotScrollOrientationChanged(Qt::Orientation,Qt::Orientation))); + disconnect(previous, SIGNAL(scrollOrientationChanged(Qt::Orientation,Qt::Orientation)), this, SLOT(slotScrollOrientationChanged(Qt::Orientation,Qt::Orientation))); disconnect(previous, SIGNAL(scrollOffsetChanged(qreal,qreal)), this, SLOT(updateScrollOffsetScrollBar())); disconnect(previous, SIGNAL(maximumScrollOffsetChanged(qreal,qreal)), this, SLOT(updateScrollOffsetScrollBar())); disconnect(previous, SIGNAL(itemOffsetChanged(qreal,qreal)), this, SLOT(updateItemOffsetScrollBar())); |
