fix Warning

This commit is contained in:
berrux-dev committed 2026-10-03 09:20:13 +02:00
1 parent 593c221d23
commit 8345470273
316 files changed
+1246 -929

No files matched your search

@@ -9,6 +9,7 @@
*/
#include "topicselector.h"
#include <utility>
#include "typecodeselectordlg.h"
#include "nglsettings.h"
#include "topic_tree_model.h"
@@ -133,14 +134,14 @@ void TopicSelector::onOk()
{
NGLSettings::instance()->setInfoValues(m_typeCodeInfos);
emit typeCodeInfosChanged();
for (TypeCodeSelectorDlg *tcsd : qAsConst(m_dialogs))
for (TypeCodeSelectorDlg *tcsd : std::as_const(m_dialogs))
tcsd->reject();
accept();
}
void TopicSelector::onCancel()
{
for (TypeCodeSelectorDlg *tcsd : qAsConst(m_dialogs))
for (TypeCodeSelectorDlg *tcsd : std::as_const(m_dialogs))
tcsd->reject();
reject();
}