Commit 4d29088a authored by Laurent Montel's avatar Laurent Montel 😁

Clean up

parent 98ac4cef
......@@ -23,16 +23,10 @@
#include <kglobal.h>
#include <KLocalizedString>
bool TimeZoneCombo::mCatalogLoaded = false;
TimeZoneCombo::TimeZoneCombo(QWidget* parent)
: ComboBox(parent)
{
if (!mCatalogLoaded)
{
//QT5 KLocale::global()->insertCatalog(QLatin1String("timezones4")); // for time zone translations
mCatalogLoaded = true;
}
QString utc = KTimeZone::utc().name();
addItem(utc); // put UTC at start of list
mZoneNames << utc;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment