]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Dolphin Part: Update the paste action at the end of the listing
authorJonathan Marten <jjm@keelhaul.me.uk>
Tue, 6 Dec 2016 06:57:00 +0000 (06:57 +0000)
committerJonathan Marten <jjm@keelhaul.me.uk>
Tue, 6 Dec 2016 06:59:49 +0000 (06:59 +0000)
Fixes a problem with the paste action not being enabled, only seen in
Konqueror.

BUG:369523
REVIEW:129448

src/dolphinpart.cpp

index aa9ab2986279d1407df0e082c3e88a2f8a27ad16..b55bcabb25e9eeb1315eabf5dbe314f4f26397ff 100644 (file)
@@ -78,6 +78,7 @@ DolphinPart::DolphinPart(QWidget* parentWidget, QObject* parent, const QVariantL
             this, &DolphinPart::slotErrorMessage);
 
     connect(m_view, &DolphinView::directoryLoadingCompleted, this, static_cast<void(DolphinPart::*)()>(&DolphinPart::completed));
+    connect(m_view, &DolphinView::directoryLoadingCompleted, this, &DolphinPart::updatePasteAction);
     connect(m_view, &DolphinView::directoryLoadingProgress, this, &DolphinPart::updateProgress);
     connect(m_view, &DolphinView::errorMessage, this, &DolphinPart::slotErrorMessage);