Skip to content

Commit 6b98a5f

Browse files
committed
align KAboutData usage with other MauiKit apps
1 parent 5f40036 commit 6b98a5f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/gui/main.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ int main(int argc, char* argv[]) {
2929
QIcon appIcon(QStringLiteral(":/assets/nuts-gui.svg"));
3030
app.setWindowIcon(appIcon);
3131

32-
// 5. CONFIGURE MAUIKIT
33-
MauiApp::instance()->setIconName("qrc:/assets/nuts-gui.svg");
34-
3532
KLocalizedString::setApplicationDomain("nuts");
3633

3734
// 6. SETUP ABOUT DATA
@@ -51,6 +48,10 @@ int main(int argc, char* argv[]) {
5148
about.setProgramLogo(app.windowIcon());
5249
KAboutData::setApplicationData(about);
5350

51+
// Configure MauiKit after KAboutData is set, so MauiApp can append
52+
// framework build metadata to the existing About data.
53+
MauiApp::instance()->setIconName("qrc:/assets/nuts-gui.svg");
54+
5455
// 7. INITIALIZE LOGIC BEFORE ENGINE
5556
Nuts::NutsClient nutsClient;
5657

0 commit comments

Comments
 (0)