diff options
| author | 2008-09-12 16:49:57 +0000 | |
|---|---|---|
| committer | 2008-09-12 16:49:57 +0000 | |
| commit | 4c4f34ab20d810baf05d8bdfc48df4984cb38a5a (patch) | |
| tree | 2afd6d74a7f303e8898f06199acd05e08ea12d31 /src/modules/objects | |
| parent | compilation fixes (objects module) (diff) | |
| download | KVIrc-4c4f34ab20d810baf05d8bdfc48df4984cb38a5a.tar.gz KVIrc-4c4f34ab20d810baf05d8bdfc48df4984cb38a5a.tar.bz2 KVIrc-4c4f34ab20d810baf05d8bdfc48df4984cb38a5a.zip | |
some fix
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2444 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/objects')
| -rw-r--r-- | src/modules/objects/class_hbox.cpp | 4 | ||||
| -rw-r--r-- | src/modules/objects/class_layout.cpp | 2 | ||||
| -rw-r--r-- | src/modules/objects/class_vbox.cpp | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/objects/class_hbox.cpp b/src/modules/objects/class_hbox.cpp index a44f703e8..da9b31cdd 100644 --- a/src/modules/objects/class_hbox.cpp +++ b/src/modules/objects/class_hbox.cpp @@ -218,6 +218,6 @@ bool KviKvsObject_hbox::functionsetAlignment(KviKvsObjectFunctionCall *c) c->warning(__tr2qs("Unknown alignment: '%Q'"),&(*it)); } - if (widget()) ((KviTalHBox *)widget())->setAlignment((Qt::Alignment)sum); + if (widget()) ((KviTalHBox *)widget())->setAlignment(((QWidget *)(pObject->object())),(Qt::Alignment)sum); return true; -} +}
\ No newline at end of file diff --git a/src/modules/objects/class_layout.cpp b/src/modules/objects/class_layout.cpp index 1107b6d55..a73f6da8b 100644 --- a/src/modules/objects/class_layout.cpp +++ b/src/modules/objects/class_layout.cpp @@ -346,4 +346,4 @@ bool KviKvsObject_layout::functionsetAlignment(KviKvsObjectFunctionCall *c) } if (widget()) ((QGridLayout *)widget())->setAlignment(((QWidget *)(pObject->object())),(Qt::Alignment)sum); return true; -} +}
\ No newline at end of file diff --git a/src/modules/objects/class_vbox.cpp b/src/modules/objects/class_vbox.cpp index 8e5d49339..9a9cc8cc0 100644 --- a/src/modules/objects/class_vbox.cpp +++ b/src/modules/objects/class_vbox.cpp @@ -223,6 +223,6 @@ bool KviKvsObject_vbox::functionsetAlignment(KviKvsObjectFunctionCall *c) c->warning(__tr2qs("Unknown alignment: '%Q'"),&(*it)); } - if (widget()) ((KviTalHBox *)widget())->setAlignment((Qt::Alignment)sum); + if (widget()) ((KviTalHBox *)widget())->setAlignment(((QWidget *)(pObject->object())),(Qt::Alignment)sum); return true; -} +}
\ No newline at end of file |
