diff options
| author | Elvis Angelaccio <[email protected]> | 2017-07-13 17:07:37 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2017-07-13 17:11:33 +0200 |
| commit | aa771da32d63d2fa7db93066fa3d42d7026ec9a4 (patch) | |
| tree | 92ad3184d068a1994aade511be7ad7309ff5d9d9 | |
| parent | da42a9eefb7c28ca346f1be2817f1f36ddf9bb6e (diff) | |
Add missing emit keywords
GIT_SILENT
| -rw-r--r-- | src/dolphinpart.cpp | 4 | ||||
| -rw-r--r-- | src/views/dolphinview.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index 352e9a44f..ef9b300ca 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("<qt>%1</qt>").arg(escapedText)); + emit ReadOnlyPart::setStatusBarText(QStringLiteral("<qt>%1</qt>").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 e60e85fdb..bef6a8b73 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<QKeyEvent*>(event); if (keyEvent->key() == Qt::Key_Tab && keyEvent->modifiers() == Qt::NoModifier) { - toggleActiveViewRequested(); + emit toggleActiveViewRequested(); return true; } } |
