Skip to content

Commit

Permalink
[filecase.cpp] Add setting appVersion for QML from VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
Olf0 authored Feb 5, 2024
1 parent 365a406 commit 73ce0ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/filecase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ int main(int argc, char *argv[])
//window->rootContext()->setContextProperty("view", window.data());
//window->rootContext()->setContextProperty("app", app.data());
window->engine()->addImportPath("/usr/share/filecase/qml");
window->rootContext()->setContextProperty("appVersion", VERSION);

qmlRegisterType<Config>("FileCase", 1, 0, "Config");
qmlRegisterType<Utilities>("FileCase", 1, 0, "Utilities");
Expand Down

0 comments on commit 73ce0ff

Please sign in to comment.