diff --git a/src/GUI/gui.cpp b/src/GUI/gui.cpp
index b8669a72..46572bba 100644
--- a/src/GUI/gui.cpp
+++ b/src/GUI/gui.cpp
@@ -1325,16 +1325,14 @@ void GUI::statistics()
+ l.toString(_areaCount) + "
");
if (_dateRange.first.isValid()) {
- if (_dateRange.first == _dateRange.second) {
- QString format = l.dateFormat(QLocale::LongFormat);
+ QString format = l.dateFormat(QLocale::ShortFormat);
+ if (_dateRange.first == _dateRange.second)
text.append("" + tr("Date") + ": "
+ _dateRange.first.toString(format) + "
");
- } else {
- QString format = l.dateFormat(QLocale::ShortFormat);
+ else
text.append("" + tr("Date") + ": "
+ QString("%1 - %2").arg(_dateRange.first.toString(format),
_dateRange.second.toString(format)) + "
");
- }
}
if (distance() > 0)
diff --git a/src/GUI/optionsdialog.cpp b/src/GUI/optionsdialog.cpp
index 02f51a79..49ac4f07 100644
--- a/src/GUI/optionsdialog.cpp
+++ b/src/GUI/optionsdialog.cpp
@@ -559,7 +559,9 @@ QWidget *OptionsDialog::createPOIPage()
QWidget *OptionsDialog::createDEMPage()
{
_demURL = new QLineEdit();
+#ifndef Q_OS_ANDROID
_demURL->setMinimumWidth(300);
+#endif // Q_OS_ANDROID
_demURL->setText(_options.demURL);
_demAuth = new AuthenticationWidget();
_demAuth->setUsername(_options.demUsername);