aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_hbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_hbox.cpp')
-rw-r--r--src/modules/objects/class_hbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/objects/class_hbox.cpp b/src/modules/objects/class_hbox.cpp
index da9b31cdd..a44f703e8 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(((QWidget *)(pObject->object())),(Qt::Alignment)sum);
+ if (widget()) ((KviTalHBox *)widget())->setAlignment((Qt::Alignment)sum);
return true;
-} \ No newline at end of file
+}