aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects/KvsObject_button.cpp
diff options
context:
space:
mode:
authorGravatar un1versal2015-12-09 11:58:53 +0000
committerGravatar un1versal2015-12-19 02:40:22 +0000
commit7d4516afc4cd194f9224dcd5e07e0f234c162fdf (patch)
treea1a165c897339fcbd35a27108fe16c999a3041e2 /src/modules/objects/KvsObject_button.cpp
parentMerge pull request #1776 from TheReign/issue_1754_2 (diff)
downloadKVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.tar.gz
KVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.tar.bz2
KVIrc-7d4516afc4cd194f9224dcd5e07e0f234c162fdf.zip
src/modules typos: capitalize, formatting, consistency and syntax fixes
Diffstat (limited to 'src/modules/objects/KvsObject_button.cpp')
-rw-r--r--src/modules/objects/KvsObject_button.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/objects/KvsObject_button.cpp b/src/modules/objects/KvsObject_button.cpp
index 40401ed12..75030751f 100644
--- a/src/modules/objects/KvsObject_button.cpp
+++ b/src/modules/objects/KvsObject_button.cpp
@@ -57,7 +57,7 @@
See also [classfnc]$setText[/classfnc]().
!fn: $setImage(<image_id_or_pixmap_object>)
Sets the icon for this button.
- See the [doc:image_id]image identifier[/doc] documentation for the explaination of the <image_id> parameter.
+ See the [doc:image_id]image identifier[/doc] documentation for the explanation of the <image_id> parameter.
!fn: $clickEvent()
Called by KVIrc when the mouse button is clicked.
The default implementation emits the [classfnc]$clicked[/classfnc]()signal.
@@ -138,7 +138,7 @@ KVSO_CLASS_FUNCTION(button,setImage)
if(pObject->inheritsClass("pixmap"))
((QPushButton *)widget())->setIcon(QIcon(*((KvsObject_pixmap *)pObject)->getPixmap()));
else
- c->warning(__tr2qs_ctx("Object Pixmap required!","object"));
+ c->warning(__tr2qs_ctx("Object pixmap required!","object"));
return true;
}
QString szIcon;