[education/rkward/kf5] rkward/misc: Fix another warning
Thomas Friedrichsmeier
null at kde.org
Wed Apr 10 16:12:08 BST 2024
Git commit 3f324a61b56951df6cc844d40e5727aba2ee8f34 by Thomas Friedrichsmeier.
Committed on 06/04/2024 at 09:50.
Pushed by tfry into branch 'kf5'.
Fix another warning
M +2 -2 rkward/misc/rkobjectlistview.cpp
https://invent.kde.org/education/rkward/-/commit/3f324a61b56951df6cc844d40e5727aba2ee8f34
diff --git a/rkward/misc/rkobjectlistview.cpp b/rkward/misc/rkobjectlistview.cpp
index dd27d3f0e..ab4f7061a 100644
--- a/rkward/misc/rkobjectlistview.cpp
+++ b/rkward/misc/rkobjectlistview.cpp
@@ -301,8 +301,8 @@ QWidget* RKObjectListViewSettings::filterWidget (QWidget *parent) {
else type_box->setCurrentIndex (0);
connect (type_box, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &RKObjectListViewSettings::filterSettingsChanged);
- QHBoxLayout *bottom_layout = new QHBoxLayout (filter_widget);
- layout->addLayout (bottom_layout);
+ QHBoxLayout *bottom_layout = new QHBoxLayout();
+ layout->addLayout(bottom_layout);
QCheckBox* hidden_objects_box = new QCheckBox (i18n ("Show Hidden Objects"));
hidden_objects_box->setChecked (persistent_settings[ShowObjectsHidden]);
connect (hidden_objects_box, &QCheckBox::clicked, persistent_settings_actions[ShowObjectsHidden], &QAction::setChecked);
More information about the rkward-tracker
mailing list