]> git.sur5r.net Git - minitube/commitdiff
Restored wheel scroll setting
authorFlavio <flavio.tordini@gmail.com>
Thu, 13 Nov 2014 12:21:53 +0000 (13:21 +0100)
committerFlavio <flavio.tordini@gmail.com>
Thu, 13 Nov 2014 12:21:53 +0000 (13:21 +0100)
src/main.cpp

index 382d91a97923a50e11ea41f011718fb7c5243edf..91f2ed87e20b887956dfd0203395850c5add7780 100644 (file)
@@ -50,10 +50,14 @@ int main(int argc, char **argv) {
     if (app.sendMessage(message))
         return 0;
 
-    app.setApplicationName(QLatin1String(Constants::NAME));
-    app.setOrganizationName(QLatin1String(Constants::ORG_NAME));
-    app.setOrganizationDomain(QLatin1String(Constants::ORG_DOMAIN));
+    app.setApplicationName(Constants::NAME);
+    app.setOrganizationName(Constants::ORG_NAME);
+    app.setOrganizationDomain(Constants::ORG_DOMAIN);
+    app.setApplicationVersion(Constants::VERSION);
     app.setAttribute(Qt::AA_DontShowIconsInMenus);
+#ifndef APP_WIN
+    app.setWheelScrollLines(1);
+#endif
 
 #ifdef APP_EXTRA
     Extra::appSetup(&app);