[education/rkward] rkward: Silence some runtime warnings

Thomas Friedrichsmeier null at kde.org
Sat Apr 9 13:59:22 BST 2022


Git commit e9617a29a291c88c61b5c8e5d996cdbd7b82f3d4 by Thomas Friedrichsmeier.
Committed on 09/04/2022 at 12:59.
Pushed by tfry into branch 'master'.

Silence some runtime warnings

M  +1    -0    rkward/misc/rkstandardicons.cpp
M  +1    -1    rkward/plugins/analysis.pluginmap
M  +2    -2    rkward/plugins/data.pluginmap
M  +1    -1    rkward/plugins/distributions.pluginmap
M  +1    -1    rkward/plugins/import_export.pluginmap
M  +2    -2    rkward/plugins/irt.pluginmap
M  +1    -1    rkward/plugins/plots.pluginmap
M  +1    -1    rkward/plugins/under_development.pluginmap
M  +1    -1    rkward/plugins/x11device.pluginmap

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

diff --git a/rkward/misc/rkstandardicons.cpp b/rkward/misc/rkstandardicons.cpp
index 3233da3c..67a30ca6 100644
--- a/rkward/misc/rkstandardicons.cpp
+++ b/rkward/misc/rkstandardicons.cpp
@@ -178,6 +178,7 @@ QIcon RKStandardIcons::iconForWindow (const RKMDIWindow* window) {
 	if (window->isType (RKMDIWindow::FileBrowserWindow)) return getIcon (WindowFileBrowser);
 	if (window->isType (RKMDIWindow::DebugConsoleWindow)) return getIcon (WindowDebugConsole);
 	if (window->isType (RKMDIWindow::CallstackViewerWindow)) return getIcon (WindowCallstackViewer);
+	if (window->isType (RKMDIWindow::DebugMessageWindow)) return QIcon();
 
 	RK_ASSERT (false);
 	return QIcon ();
diff --git a/rkward/plugins/analysis.pluginmap b/rkward/plugins/analysis.pluginmap
index 78cd5eb2..837df6b8 100644
--- a/rkward/plugins/analysis.pluginmap
+++ b/rkward/plugins/analysis.pluginmap
@@ -1,6 +1,6 @@
 <!DOCTYPE rkpluginmap>
 
-<document base_prefix="" namespace="rkward" id="analysis" po_id="analysis">
+<document base_prefix="" namespace="rkward" id="analysis" po_id="analysis" priority="medium">
 	<include file="pluginmap_meta.inc"/>
 	<about
 		name="Analysis"
diff --git a/rkward/plugins/data.pluginmap b/rkward/plugins/data.pluginmap
index 97ed80c4..e0bd6562 100644
--- a/rkward/plugins/data.pluginmap
+++ b/rkward/plugins/data.pluginmap
@@ -1,6 +1,6 @@
 <!DOCTYPE rkpluginmap>
 
-<document base_prefix="" namespace="rkward" id="data" po_id="data">
+<document base_prefix="" namespace="rkward" id="data" po_id="data" priority="medium">
 	<include file="pluginmap_meta.inc"/>
 	<about
 		name="Data transformation and conversion"
@@ -30,4 +30,4 @@
 			<entry component="subset_dataframe"/>
 		</menu>
 	</hierarchy>
-</document>
\ No newline at end of file
+</document>
diff --git a/rkward/plugins/distributions.pluginmap b/rkward/plugins/distributions.pluginmap
index b5fe6582..c66fff29 100644
--- a/rkward/plugins/distributions.pluginmap
+++ b/rkward/plugins/distributions.pluginmap
@@ -1,6 +1,6 @@
 <!DOCTYPE rkpluginmap>
 
-<document base_prefix="distributions/" namespace="rkward" id="distributions" po_id="distributions">
+<document base_prefix="distributions/" namespace="rkward" id="distributions" po_id="distributions" priority="medium">
 	<include file="pluginmap_meta.inc"/>
 	<about
 		name="Distributions"
diff --git a/rkward/plugins/import_export.pluginmap b/rkward/plugins/import_export.pluginmap
index ff0425dc..20dc2ec4 100644
--- a/rkward/plugins/import_export.pluginmap
+++ b/rkward/plugins/import_export.pluginmap
@@ -1,6 +1,6 @@
 <!DOCTYPE rkpluginmap>
 
-<document base_prefix="00saveload/" namespace="rkward" id="import_export" po_id="import_export">
+<document base_prefix="00saveload/" namespace="rkward" id="import_export" po_id="import_export" priority="medium">
 	<include file="pluginmap_meta.inc"/>
 	<about
 		name="Data Import and Export"
diff --git a/rkward/plugins/irt.pluginmap b/rkward/plugins/irt.pluginmap
index 9672ee24..34b61e99 100644
--- a/rkward/plugins/irt.pluginmap
+++ b/rkward/plugins/irt.pluginmap
@@ -1,6 +1,6 @@
 <!DOCTYPE rkpluginmap>
 
-<document base_prefix="" namespace="rkward" id="irt" po_id="item_response_theory">
+<document base_prefix="" namespace="rkward" id="irt" po_id="item_response_theory" priority="medium">
 	<include file="pluginmap_meta.inc"/>
 	<about
 		name="Item Response Theory"
@@ -89,4 +89,4 @@
     			</menu>
 		</menu>
 	</hierarchy>
-</document>
\ No newline at end of file
+</document>
diff --git a/rkward/plugins/plots.pluginmap b/rkward/plugins/plots.pluginmap
index 7573ba56..fcc88898 100644
--- a/rkward/plugins/plots.pluginmap
+++ b/rkward/plugins/plots.pluginmap
@@ -1,6 +1,6 @@
 <!DOCTYPE rkpluginmap>
 
-<document base_prefix="plots/" namespace="rkward" id="plots" po_id="plots">
+<document base_prefix="plots/" namespace="rkward" id="plots" po_id="plots" priority="medium">
 	<include file="pluginmap_meta.inc"/>
 	<about
 		name="Plots"
diff --git a/rkward/plugins/under_development.pluginmap b/rkward/plugins/under_development.pluginmap
index c5eb2e8f..1b1d5cee 100644
--- a/rkward/plugins/under_development.pluginmap
+++ b/rkward/plugins/under_development.pluginmap
@@ -1,6 +1,6 @@
 <!DOCTYPE rkpluginmap>
 
-<document base_prefix="" namespace="rkward" priority="low" id="under_development">
+<document base_prefix="" namespace="rkward" priority="low" id="under_development" priority="low">
 	<include file="pluginmap_meta.inc"/>
 	<about
 		name="Plugins under development"
diff --git a/rkward/plugins/x11device.pluginmap b/rkward/plugins/x11device.pluginmap
index 4c0f24cf..8c4f9fd2 100644
--- a/rkward/plugins/x11device.pluginmap
+++ b/rkward/plugins/x11device.pluginmap
@@ -1,6 +1,6 @@
 <!DOCTYPE rkpluginmap>
 
-<document base_prefix="x11device/" namespace="rkward" id="x11device" po_id="graphics_device">
+<document base_prefix="x11device/" namespace="rkward" id="x11device" po_id="graphics_device" priority="medium">
 	<include file="pluginmap_meta.inc"/>
 	<about
 		name="Graphics Device add-ons"


More information about the rkward-tracker mailing list