mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-16 23:30:53 -08:00
small revisions, update version number (many recent changes)
This commit is contained in:
parent
1106db7c0a
commit
f0470344a7
2 changed files with 5 additions and 3 deletions
|
|
@ -58,8 +58,10 @@ int main(int argc, char* argv[]) {
|
|||
f.setVersion(4, 4);
|
||||
view.setFormat(f);
|
||||
}
|
||||
view.connect(view.engine(), &QQmlEngine::quit, &app, &QCoreApplication::quit);
|
||||
view.connect(&app, &QGuiApplication::lastWindowClosed, []() { LQML::eval("(qml:qquit)"); });
|
||||
view.connect(view.engine(), &QQmlEngine::quit,
|
||||
&app, &QCoreApplication::quit);
|
||||
view.connect(&app, &QGuiApplication::lastWindowClosed,
|
||||
[]() { LQML::eval("(qml:qquit)"); });
|
||||
|
||||
LQML lqml(argc, argv, &view);
|
||||
if (arguments.contains("-v") || arguments.contains("--version")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue