Commit 4fb458cb authored by Stefano Crocco's avatar Stefano Crocco
Browse files

Remove duplicate connection, also fixing a compilation error

parent 7bde4dff
...@@ -372,7 +372,6 @@ void KonqView::connectPart() ...@@ -372,7 +372,6 @@ void KonqView::connectPart()
connect(m_pPart, QOverload<bool>::of(&KParts::ReadOnlyPart::completed), this, QOverload<bool>::of(&KonqView::slotCompleted)); connect(m_pPart, QOverload<bool>::of(&KParts::ReadOnlyPart::completed), this, QOverload<bool>::of(&KonqView::slotCompleted));
#else #else
connect(m_pPart, &KParts::ReadOnlyPart::completedWithPendingAction, this, [this](){slotCompleted(true);}); connect(m_pPart, &KParts::ReadOnlyPart::completedWithPendingAction, this, [this](){slotCompleted(true);});
connect(m_pPart, &KParts::ReadOnlyPart::completed, this, &KonqView::slotCompleted);
#endif #endif
connect(m_pPart, SIGNAL(canceled(QString)), connect(m_pPart, SIGNAL(canceled(QString)),
this, SLOT(slotCanceled(QString))); this, SLOT(slotCanceled(QString)));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment