Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit df985991 authored by Alexander Volkov's avatar Alexander Volkov

Fix spacing in "Select test picture:" row

Summary:
Use QBoxLayout::addLayout() instead of QLayout::addItem()
to add a child layout. It's more preferable and makes Qt use a
correct spacing for the child layout.

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D5882
parent 879e0310
......@@ -140,7 +140,7 @@ void KGamma::setupUI() {
if (GammaCorrection) {
QHBoxLayout *hbox = new QHBoxLayout();
topLayout->addItem( hbox );
topLayout->addLayout( hbox );
QLabel *label = new QLabel( i18n( "&Select test picture:" ) , this);
QComboBox *combo = new QComboBox( this );
label->setBuddy( combo );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment