[go: up one dir, main page]

Skip to content

Device information functionality may present an empty error message

When calling Device > Information, an empty error message may be shown. This is exemplified by the image below:

InformationDialogEmptyError

At a first glance, this error is caused by the fact that bool "err_", a variable that is global to every instance of ConfiguratorWindow instance, is never initialized. This variable is declared in "configurationwindow.h", line 94:

bool err_, requiresReset_, viewEnabled_ = false;

However, where this variable is to be initialized is pending analysis. Probably, the variable should be initialized locally inside the ConfiguratorWindow::on_actionInformation_triggered(), but further studying is required.