+ fix minor issue with url redirection

+ remove const reference
This commit is contained in:
wmayer
2016-03-14 18:02:24 +01:00
parent 6488c2c43e
commit 7a5bfaef70
2 changed files with 10 additions and 4 deletions

View File

@@ -685,7 +685,7 @@ void CallTipsList::callTipItemActivated(QListWidgetItem *item)
cursor.insertText( text );
// get CallTip from item's UserRole-data
const CallTip &callTip = item->data(Qt::UserRole).value<CallTip>();
CallTip callTip = item->data(Qt::UserRole).value<CallTip>();
// if call completion enabled and we've something callable (method or class constructor) ...
if (this->doCallCompletion