aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Noldor2010-01-21 17:02:45 +0000
committerGravatar Noldor2010-01-21 17:02:45 +0000
commitc25bf467ebb23e91fe1ba93630fcf5d300279969 (patch)
treea34b78cb86b65a911bff8cdae3a7d5e71ce69793 /src/modules
parent[KVIrc] (trunk) Fix some remaining spelling errors (thanks to Lintian). (diff)
downloadKVIrc-c25bf467ebb23e91fe1ba93630fcf5d300279969.tar.gz
KVIrc-c25bf467ebb23e91fe1ba93630fcf5d300279969.tar.bz2
KVIrc-c25bf467ebb23e91fe1ba93630fcf5d300279969.zip
Minor fixes
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3859 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/addon/packaddondialog.cpp4
-rw-r--r--src/modules/objects/class_file.cpp2
-rw-r--r--src/modules/objects/class_toolbar.cpp2
-rw-r--r--src/modules/objects/class_treewidgetitem.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/addon/packaddondialog.cpp b/src/modules/addon/packaddondialog.cpp
index 62722f363..9b4ff25e7 100644
--- a/src/modules/addon/packaddondialog.cpp
+++ b/src/modules/addon/packaddondialog.cpp
@@ -709,7 +709,9 @@ void KviPackAddonSummaryFilesWidget::showEvent(QShowEvent *)
// Iterate through the addon dir and its subdirs
while(it.hasNext())
{
- list.append(it.next());
+ QString szStr=it.next();
+ if(!szStr.contains("/."))
+ list.append(szStr);
}
// QDirIterator does not support sorting, so do it manually
diff --git a/src/modules/objects/class_file.cpp b/src/modules/objects/class_file.cpp
index c0532c950..3131eefd2 100644
--- a/src/modules/objects/class_file.cpp
+++ b/src/modules/objects/class_file.cpp
@@ -147,8 +147,6 @@ const QIODevice::OpenMode mod_cod[] = {
Appends a line of text to the end of the file.
$readBlock()
$writeBlock()
- $writeHex()
- $readHex()
*/
diff --git a/src/modules/objects/class_toolbar.cpp b/src/modules/objects/class_toolbar.cpp
index 29b84ba13..3abadede5 100644
--- a/src/modules/objects/class_toolbar.cpp
+++ b/src/modules/objects/class_toolbar.cpp
@@ -60,7 +60,7 @@
*/
-KVSO_BEGIN_REGISTERCLASS(KviKvsObject_toolbar,"toolbar","object")
+KVSO_BEGIN_REGISTERCLASS(KviKvsObject_toolbar,"toolbar","widget")
KVSO_REGISTER_HANDLER_BY_NAME(KviKvsObject_toolbar,addSeparator)
KVSO_REGISTER_HANDLER_BY_NAME(KviKvsObject_toolbar,setLabel)
KVSO_REGISTER_HANDLER_BY_NAME(KviKvsObject_toolbar,label)
diff --git a/src/modules/objects/class_treewidgetitem.cpp b/src/modules/objects/class_treewidgetitem.cpp
index 3707626b7..0d767905d 100644
--- a/src/modules/objects/class_treewidgetitem.cpp
+++ b/src/modules/objects/class_treewidgetitem.cpp
@@ -76,7 +76,7 @@ const char * const itemflags_tbl[] = {
To use this class you must instantiate it with another listviewitem or a [class]listview[/class]
as parent. The item will be automatically displayed.
You can set the text and a pixmap in each column and you can make it checkable
- with [classfnc:treewidgetitem]$setCheckable[/classfnc]().
+ with [classfnc:listviewitem]$setCheckable[/classfnc]().
A checkable listviewitem will display a small check mark in the first column.
@functions:
!fn: $setText(<column:integer>,<text:string>)