[education/rkward] rkward: Plug another small leak

Thomas Friedrichsmeier null at kde.org
Sun Jul 31 12:01:53 BST 2022


Git commit 1b560071666a1764946e70424948b9349a916383 by Thomas Friedrichsmeier.
Committed on 31/07/2022 at 11:01.
Pushed by tfry into branch 'master'.

Plug another small leak

M  +1    -1    rkward/rkward.cpp

https://invent.kde.org/education/rkward/commit/1b560071666a1764946e70424948b9349a916383

diff --git a/rkward/rkward.cpp b/rkward/rkward.cpp
index 39e94a25..9672a7f5 100644
--- a/rkward/rkward.cpp
+++ b/rkward/rkward.cpp
@@ -788,7 +788,7 @@ void RKWardMainWindow::initStatusBar () {
 	dummy->menu()->addAction(interrupt_all_commands);
 	dummy->menu()->addAction(restart_r);
 	dummy->menu()->addSeparator();
-	QAction *a = new QAction(i18n("Configure R backend"));
+	QAction *a = new QAction(i18n("Configure R backend"), this);
 	connect(a, &QAction::triggered, this, []() { RKSettings::configureSettings(RKSettings::PageR); });
 	dummy->menu()->addAction(a);
 	dummy->setFixedHeight(statusbar_r_status->height());


More information about the rkward-tracker mailing list