[digikam] [Bug 372342] Face tag area is very short

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sun Mar 5 18:40:42 GMT 2017


https://bugs.kde.org/show_bug.cgi?id=372342

--- Comment #17 from caulier.gilles at gmail.com ---
Comment on attachment 104335
  --> https://bugs.kde.org/attachment.cgi?id=104335
local code patch for the bug

Why this complex code :

+    connect(this, SIGNAL(textChanged(QString)),
+            this, SLOT(slotTextChanged(QString)));
+
     connect(d->completer, static_cast<void(TagCompleter::*)(const
TaggingAction&)>(&TagCompleter::activated),
             [this](const TaggingAction& action){ completerActivated(action);
});

@@ -192,6 +195,11 @@ void AddTagsLineEdit::slotTextEdited(const QString& text)
     d->completer->update(text);
 }

+void AddTagsLineEdit::slotTextChanged(const QString& txt)
+{
+    emit textEditChanged(txt);
+}

This code is enough :

+    connect(this, SIGNAL(textChanged(QString)),
+            this, SIGNAL(textEditChanged(QString)));

and please comment the patch step by step...

Gilles Caulier

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Digikam-devel mailing list