[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [ktexteditor] src/vimode/emulatedcommandbar: Compile fix for when Q_ASSERTs are active.
From:       Simon St James <kdedevel () etotheipiplusone ! com>
Date:       2016-06-17 8:18:10
Message-ID: E1bDoyg-0002ZN-Rn () scm ! kde ! org
[Download RAW message or body]

Git commit 062630254367a94ad1da0a5d65888d90db8a39a7 by Simon St James.
Committed on 17/06/2016 at 08:14.
Pushed by sstjames into branch 'master'.

Compile fix for when Q_ASSERTs are active.

M  +1    -1    src/vimode/emulatedcommandbar/emulatedcommandbar.cpp

http://commits.kde.org/ktexteditor/062630254367a94ad1da0a5d65888d90db8a39a7

diff --git a/src/vimode/emulatedcommandbar/emulatedcommandbar.cpp \
b/src/vimode/emulatedcommandbar/emulatedcommandbar.cpp index 402b0ea..f720fe8 100644
--- a/src/vimode/emulatedcommandbar/emulatedcommandbar.cpp
+++ b/src/vimode/emulatedcommandbar/emulatedcommandbar.cpp
@@ -222,7 +222,7 @@ void EmulatedCommandBar::insertRegisterContents(const QKeyEvent \
*keyEvent)  
 bool EmulatedCommandBar::eventFilter(QObject *object, QEvent *event)
 {
-    Q_ASSERT(object == m_edit || object == m_completer->m_completer->popup());
+    // The "object" will be either m_edit or m_completer's popup.
     if (m_suspendEditEventFiltering) {
         return false;
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic