aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects/KvsObject_lineEdit.cpp
diff options
context:
space:
mode:
authorGravatar un1versal2016-04-26 11:31:49 +0100
committerGravatar un1versal2016-04-26 11:31:49 +0100
commit6daa59a953058c99e7fab32a0de4ca6998c51443 (patch)
treebab5e8dd84664ff7a08203aeaa967ba9860b56df /src/modules/objects/KvsObject_lineEdit.cpp
parentadd .directory files to .gitignore [ci skip] (diff)
downloadKVIrc-6daa59a953058c99e7fab32a0de4ca6998c51443.tar.gz
KVIrc-6daa59a953058c99e7fab32a0de4ca6998c51443.tar.bz2
KVIrc-6daa59a953058c99e7fab32a0de4ca6998c51443.zip
Noldor73 “The journey of a thousand miles begins with one step.”
That first step is RTFM https://git-scm.com/doc
Diffstat (limited to 'src/modules/objects/KvsObject_lineEdit.cpp')
-rw-r--r--src/modules/objects/KvsObject_lineEdit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/objects/KvsObject_lineEdit.cpp b/src/modules/objects/KvsObject_lineEdit.cpp
index 5627fb5ac..7ab7aae0f 100644
--- a/src/modules/objects/KvsObject_lineEdit.cpp
+++ b/src/modules/objects/KvsObject_lineEdit.cpp
@@ -168,7 +168,7 @@ static const int mode_cod[] = {
Called when the lineedit lost focus.
!fn: $textChangedEvent(<new text:string>)
This event is called when the text changed, In $0 there is the new text.
- !fn: $setCompleter(<completion_mode:string>,<completition_list:array>)
+ !fn: $setCompleter(<completion_mode:string>,<completion_list:array>)
Provides completions based on an array.
Valid completion_mode are:
PopupCompletion: Current completions are displayed in a popup below the lineedit.
@@ -482,7 +482,7 @@ KVSO_CLASS_FUNCTION(lineEdit,setCompleter)
if(KviQString::equalCI(szMode,"InlineCompletion")) mode=QCompleter::InlineCompletion;
else if(KviQString::equalCI(szMode,"UnfilteredPopupCompletion")) mode=QCompleter::UnfilteredPopupCompletion;
else if(!KviQString::equalCI(szMode,"PopupCompletion"))
- c->warning(__tr2qs_ctx("Unkonwn '%Q' completition mode, switching to default popupCompletition","objects"),&szMode);
+ c->warning(__tr2qs_ctx("Unknown '%Q' completion mode, switching to default PopupCompletion","objects"),&szMode);
m_pCompleter->setCompletionMode(mode);
((QLineEdit *)widget())->setCompleter(m_pCompleter);
return true;