[education/rkward] rkward/settings: Fix a harmless runtime warning

Thomas Friedrichsmeier null at kde.org
Thu Apr 28 20:15:07 BST 2022


Git commit b1fd8fa562a2f9204bd77dd0b04eae0252b4267e by Thomas Friedrichsmeier.
Committed on 28/04/2022 at 19:15.
Pushed by tfry into branch 'master'.

Fix a harmless runtime warning

M  +1    -1    rkward/settings/rksettingsmodulegraphics.cpp

https://invent.kde.org/education/rkward/commit/b1fd8fa562a2f9204bd77dd0b04eae0252b4267e

diff --git a/rkward/settings/rksettingsmodulegraphics.cpp b/rkward/settings/rksettingsmodulegraphics.cpp
index bc235b04..264bfcf2 100644
--- a/rkward/settings/rksettingsmodulegraphics.cpp
+++ b/rkward/settings/rksettingsmodulegraphics.cpp
@@ -44,7 +44,7 @@ RKSettingsModuleGraphics::RKSettingsModuleGraphics (RKSettings *gui, QWidget *pa
 
 	QVBoxLayout *main_vbox = new QVBoxLayout (this);
 
-	QHBoxLayout *h_layout1 = new QHBoxLayout (this);
+	QHBoxLayout *h_layout1 = new QHBoxLayout();
 	main_vbox->addLayout (h_layout1);
 	QGroupBox *group = new QGroupBox (i18n ("Default graphics device"), this);
 	default_device_group = new QButtonGroup (this);


More information about the rkward-tracker mailing list