From aa771da32d63d2fa7db93066fa3d42d7026ec9a4 Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Thu, 13 Jul 2017 17:07:37 +0200 Subject: [PATCH] Add missing emit keywords GIT_SILENT --- src/dolphinpart.cpp | 4 ++-- src/views/dolphinview.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index 352e9a44fa..ef9b300ca7 100644 --- a/src/dolphinpart.cpp +++ b/src/dolphinpart.cpp @@ -352,7 +352,7 @@ void DolphinPart::slotRequestItemInfo(const KFileItem& item) updateStatusBar(); } else { const QString escapedText = Qt::convertFromPlainText(item.getStatusBarInfo()); - ReadOnlyPart::setStatusBarText(QStringLiteral("%1").arg(escapedText)); + emit ReadOnlyPart::setStatusBarText(QStringLiteral("%1").arg(escapedText)); } } @@ -575,7 +575,7 @@ void DolphinPart::updateStatusBar() void DolphinPart::updateProgress(int percent) { - m_extension->loadingProgress(percent); + emit m_extension->loadingProgress(percent); } void DolphinPart::createDirectory() diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index e60e85fdbc..bef6a8b73a 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -735,7 +735,7 @@ bool DolphinView::eventFilter(QObject* watched, QEvent* event) if (GeneralSettings::useTabForSwitchingSplitView()) { QKeyEvent* keyEvent = static_cast(event); if (keyEvent->key() == Qt::Key_Tab && keyEvent->modifiers() == Qt::NoModifier) { - toggleActiveViewRequested(); + emit toggleActiveViewRequested(); return true; } }