Commit 4603adaf authored by Volker Krause's avatar Volker Krause
Browse files

Fix module name comparison

This was comparing a string with a QChar on the right hand side, which only
happened to compile with Qt5's implicit QString ctors but didn't actually
ever match. With Qt6 this fails to compile.
parent ae29f170
Pipeline #167547 passed with stage
in 54 seconds
......@@ -135,7 +135,7 @@ void IconMode::changeModule(const QModelIndex &activeModule)
// Already loaded?
MenuItem *item =<MenuItem *>();
if (d->moduleView->activeModuleName() == &item->name())
if (d->moduleView->activeModuleName() == item->name())
changeModuleWithArgs(activeModule, QStringList());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment