Add SailJail permissions
This commit is contained in:
parent
5fa287c8aa
commit
3d08d137e2
2 changed files with 7 additions and 5 deletions
|
@ -4,8 +4,8 @@ X-Nemo-Application-Type=silica-qt5
|
||||||
Icon=harbour-seaprint
|
Icon=harbour-seaprint
|
||||||
Exec=harbour-seaprint
|
Exec=harbour-seaprint
|
||||||
Name=SeaPrint
|
Name=SeaPrint
|
||||||
# translation example:
|
[X-Sailjail]
|
||||||
# your app name in German locale (de)
|
Permissions=Internet;DataStorages;Pictures
|
||||||
#
|
OrganizationName=net.attah
|
||||||
# Remember to comment out the following line, if you do not want to use
|
ApplicationName=seaprint
|
||||||
# a different app name in German locale (de).
|
|
||||||
|
|
|
@ -31,6 +31,8 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
QGuiApplication* app = SailfishApp::application(argc, argv);
|
QGuiApplication* app = SailfishApp::application(argc, argv);
|
||||||
|
|
||||||
|
app->setOrganizationName(QStringLiteral("net.attah"));
|
||||||
|
app->setApplicationName(QStringLiteral("seaprint"));
|
||||||
app->setApplicationVersion(QStringLiteral(SEAPRINT_VERSION));
|
app->setApplicationVersion(QStringLiteral(SEAPRINT_VERSION));
|
||||||
|
|
||||||
qmlRegisterSingletonType<IppDiscovery>("seaprint.ippdiscovery", 1, 0, "IppDiscovery", singletontype_provider<IppDiscovery>);
|
qmlRegisterSingletonType<IppDiscovery>("seaprint.ippdiscovery", 1, 0, "IppDiscovery", singletontype_provider<IppDiscovery>);
|
||||||
|
|
Loading…
Reference in a new issue