From: Flavio Date: Thu, 13 Nov 2014 12:21:53 +0000 (+0100) Subject: Restored wheel scroll setting X-Git-Tag: 2.3.1~7 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=96ad9483a14d0b2252fb9eac976d8ed563bb4aca;p=minitube Restored wheel scroll setting --- 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);