+for (int i = 0; i < args.count(); ++i) {
+ QString arg = args[i];
We have Q_FOREACH
Do you really need to read the FileInfo object? Why not just drop the ".qml" from the file name?
+ u_application_id_new_from_stringn(sessionName.data(), sessionName.count());
Does the api expect sessionName to always exist, or will it make a copy itself?
+for (int i = 0; i < args.count(); ++i) {
+ QString arg = args[i];
We have Q_FOREACH
Do you really need to read the FileInfo object? Why not just drop the ".qml" from the file name?
+ u_application_ id_new_ from_stringn( sessionName. data(), sessionName. count() );
Does the api expect sessionName to always exist, or will it make a copy itself?