diff options
| author | 2007-01-01 23:48:12 +0000 | |
|---|---|---|
| committer | 2007-01-01 23:48:12 +0000 | |
| commit | a02386ac4e83ab4f3a74b9e70db28c91eb3e98a0 (patch) | |
| tree | d8b111b610db3bceae6aeeadd8b7fb54a6931d66 /src/modules/objects/class_listbox.cpp | |
| parent | wip on dynamic tool tips in objects module(still incomplete, bugged and undoc... (diff) | |
| download | KVIrc-a02386ac4e83ab4f3a74b9e70db28c91eb3e98a0.tar.gz KVIrc-a02386ac4e83ab4f3a74b9e70db28c91eb3e98a0.tar.bz2 KVIrc-a02386ac4e83ab4f3a74b9e70db28c91eb3e98a0.zip | |
fixed dynamic tooltip (still wip)
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@87 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/objects/class_listbox.cpp')
| -rw-r--r-- | src/modules/objects/class_listbox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/objects/class_listbox.cpp b/src/modules/objects/class_listbox.cpp index cbfe3bc83..8d9f3381a 100644 --- a/src/modules/objects/class_listbox.cpp +++ b/src/modules/objects/class_listbox.cpp @@ -369,8 +369,8 @@ kvs_uint_t uIndex; KviKvsArray * a = new KviKvsArray(); a->set(0,new KviKvsVariant((kvs_int_t)rect.left())); a->set(1,new KviKvsVariant((kvs_int_t)rect.top())); - a->set(2,new KviKvsVariant((kvs_int_t)rect.bottom())); - a->set(3,new KviKvsVariant((kvs_int_t)rect.right())); + a->set(2,new KviKvsVariant((kvs_int_t)rect.width())); + a->set(3,new KviKvsVariant((kvs_int_t)rect.height())); c->returnValue()->setArray(a); } return true; |
