chore(storybook): fix clang-tidy readability-static-accessed-through-instance

This commit is contained in:
Patryk Osmaczko 2022-10-13 16:32:20 +02:00 committed by osmaczko
parent 148d0518f8
commit 89f6b5f3cc

View File

@ -8,9 +8,9 @@ int main(int argc, char *argv[])
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
QGuiApplication app(argc, argv);
app.setOrganizationName("Status");
app.setOrganizationDomain("status.im");
app.setApplicationName("Status Desktop Storybook");
QGuiApplication::setOrganizationName("Status");
QGuiApplication::setOrganizationDomain("status.im");
QGuiApplication::setApplicationName("Status Desktop Storybook");
QQmlApplicationEngine engine;
@ -28,5 +28,5 @@ int main(int argc, char *argv[])
}, Qt::QueuedConnection);
engine.load(url);
return app.exec();
return QGuiApplication::exec();
}