From c6de182cd791d38e878ac005fcc33842cc653de3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 13 Sep 2011 13:15:04 +0000 Subject: [PATCH] use default constructor for QLocale, not ::system; refs #66 --- swisssurfer/src/editbookmarks.ui | 2 +- swisssurfer/src/main.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/swisssurfer/src/editbookmarks.ui b/swisssurfer/src/editbookmarks.ui index f6f7580..e7e6f7f 100644 --- a/swisssurfer/src/editbookmarks.ui +++ b/swisssurfer/src/editbookmarks.ui @@ -71,7 +71,7 @@ true - QAbstractItemView::ContiguousSelection + QAbstractItemView::ExtendedSelection diff --git a/swisssurfer/src/main.cxx b/swisssurfer/src/main.cxx index ba1ba20..6d33b96 100644 --- a/swisssurfer/src/main.cxx +++ b/swisssurfer/src/main.cxx @@ -254,10 +254,10 @@ int main(int argv, char** argc) try { app.setApplicationVersion(VERSION); QTranslator qtTranslator; if (env.contains("LANGUAGE")) QLocale::setDefault(env["LANGUAGE"]); - qtTranslator.load(":/language/qt_" + QLocale::system().name()); + qtTranslator.load(":/language/qt_" + QLocale().name()); app.installTranslator(&qtTranslator); QTranslator appTranslator; - appTranslator.load(":/language/swisssurfer_"+ QLocale::system().name()); + appTranslator.load(":/language/swisssurfer_"+ QLocale().name()); app.installTranslator(&appTranslator); //............................................................................ if (env["PROXY_TYPE"]=="http")