From 96ad9483a14d0b2252fb9eac976d8ed563bb4aca Mon Sep 17 00:00:00 2001 From: Flavio Date: Thu, 13 Nov 2014 13:21:53 +0100 Subject: [PATCH] Restored wheel scroll setting --- src/main.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 382d91a..91f2ed8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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); -- 2.39.5