aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects/KvsObject_vBox.cpp
diff options
context:
space:
mode:
authorGravatar Fabio Bas2023-09-20 22:12:32 +0200
committerGravatar ctrlaltca2023-10-18 10:26:35 +0200
commit0c9088c1d63acd418f7e37910ede0f1d59782961 (patch)
tree323a921a4c70fd414feb1a0f13ff7e7e7caa2969 /src/modules/objects/KvsObject_vBox.cpp
parentQt6: QStringList is a typedef now, avoid forward declarations (diff)
downloadKVIrc-0c9088c1d63acd418f7e37910ede0f1d59782961.tar.gz
KVIrc-0c9088c1d63acd418f7e37910ede0f1d59782961.tar.bz2
KVIrc-0c9088c1d63acd418f7e37910ede0f1d59782961.zip
Mass rename of margin -> contentsMargins
Diffstat (limited to 'src/modules/objects/KvsObject_vBox.cpp')
-rw-r--r--src/modules/objects/KvsObject_vBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/objects/KvsObject_vBox.cpp b/src/modules/objects/KvsObject_vBox.cpp
index 557dd5b35..e3227d16f 100644
--- a/src/modules/objects/KvsObject_vBox.cpp
+++ b/src/modules/objects/KvsObject_vBox.cpp
@@ -124,7 +124,7 @@ KVSO_CLASS_FUNCTION(vBox, setMargin)
KVSO_PARAMETERS_BEGIN(c)
KVSO_PARAMETER("margin", KVS_PT_INT, 0, iMargin)
KVSO_PARAMETERS_END(c)
- ((KviTalVBox *)widget())->setMargin(iMargin);
+ ((KviTalVBox *)widget())->setContentsMargins(iMargin, iMargin, iMargin, iMargin);
return true;
}