src/main.cpp

changeset 38
db677d321cf4
parent 37
c82a86ea87be
child 40
809a75a7113b
equal deleted inserted replaced
37:c82a86ea87be 38:db677d321cf4
30 { 30 {
31 QApplication app (argc, argv); 31 QApplication app (argc, argv);
32 app.setApplicationName (UNIXNAME); 32 app.setApplicationName (UNIXNAME);
33 app.setOrganizationName (UNIXNAME); 33 app.setOrganizationName (UNIXNAME);
34 app.setApplicationVersion (versionString()); 34 app.setApplicationVersion (versionString());
35 qRegisterMetaType<ZandronumVersion> ("ZandronumVersion");
36 qRegisterMetaTypeStreamOperators<ZandronumVersion> ("ZandronumVersion");
35 37
36 for (int i = 1; i < argc; ++i) 38 for (int i = 1; i < argc; ++i)
37 { 39 {
38 QString arg = argv[i]; 40 QString arg = argv[i];
39 41

mercurial