diff options
| author | 2023-09-20 22:12:32 +0200 | |
|---|---|---|
| committer | 2023-10-18 10:26:35 +0200 | |
| commit | 0c9088c1d63acd418f7e37910ede0f1d59782961 (patch) | |
| tree | 323a921a4c70fd414feb1a0f13ff7e7e7caa2969 /src/modules/objects/KvsObject_label.cpp | |
| parent | Qt6: QStringList is a typedef now, avoid forward declarations (diff) | |
| download | KVIrc-0c9088c1d63acd418f7e37910ede0f1d59782961.tar.gz KVIrc-0c9088c1d63acd418f7e37910ede0f1d59782961.tar.bz2 KVIrc-0c9088c1d63acd418f7e37910ede0f1d59782961.zip | |
Mass rename of margin -> contentsMargins
Diffstat (limited to 'src/modules/objects/KvsObject_label.cpp')
| -rw-r--r-- | src/modules/objects/KvsObject_label.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/objects/KvsObject_label.cpp b/src/modules/objects/KvsObject_label.cpp index da4744cbd..d555212d4 100644 --- a/src/modules/objects/KvsObject_label.cpp +++ b/src/modules/objects/KvsObject_label.cpp @@ -227,7 +227,7 @@ KVSO_CLASS_FUNCTION(label, setMargin) KVSO_PARAMETERS_BEGIN(c) KVSO_PARAMETER("margin", KVS_PT_UNSIGNEDINTEGER, 0, iMargin) KVSO_PARAMETERS_END(c) - ((QLabel *)widget())->setMargin(iMargin); + ((QLabel *)widget())->setContentsMargins(iMargin, iMargin, iMargin, iMargin); return true; } KVSO_CLASS_FUNCTION(label, margin) |
