From b8a1e335dd36649264149d277c0d3b48640cd90c Mon Sep 17 00:00:00 2001 From: wmayer Date: Sun, 16 Jul 2017 08:14:26 +0200 Subject: [PATCH] add locale information to system information --- src/Gui/Splashscreen.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Gui/Splashscreen.cpp b/src/Gui/Splashscreen.cpp index 435d2c76f3..40c7867edd 100644 --- a/src/Gui/Splashscreen.cpp +++ b/src/Gui/Splashscreen.cpp @@ -26,6 +26,7 @@ # include # include # include +# include # include # include # include @@ -553,6 +554,10 @@ void AboutDialog::on_copyButton_clicked() #endif << endl; #endif + QLocale loc; + str << "Locale: " << loc.languageToString(loc.language()) << "/" + << loc.countryToString(loc.country()) + << " (" << loc.name() << ")" << endl; QClipboard* cb = QApplication::clipboard(); cb->setText(data);