aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/theme/SaveThemeDialog.cpp
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2015-09-15 04:08:12 +0200
committerGravatar Szymon Tomasz Stefanek2015-09-15 04:08:12 +0200
commitcba7efb48e9c6ba50e1585a475fe4cb0d0046f35 (patch)
treeda48ad27d84cb2a6d50fdd2dc37bf1e7cc06fac6 /src/modules/theme/SaveThemeDialog.cpp
parentAdd package management module (2) (diff)
downloadKVIrc-cba7efb48e9c6ba50e1585a475fe4cb0d0046f35.tar.gz
KVIrc-cba7efb48e9c6ba50e1585a475fe4cb0d0046f35.tar.bz2
KVIrc-cba7efb48e9c6ba50e1585a475fe4cb0d0046f35.zip
Improve package management
Diffstat (limited to 'src/modules/theme/SaveThemeDialog.cpp')
-rw-r--r--src/modules/theme/SaveThemeDialog.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/theme/SaveThemeDialog.cpp b/src/modules/theme/SaveThemeDialog.cpp
index 09e748510..9a1bb93b3 100644
--- a/src/modules/theme/SaveThemeDialog.cpp
+++ b/src/modules/theme/SaveThemeDialog.cpp
@@ -262,9 +262,7 @@ bool SaveThemeDialog::saveTheme()
sto.setAuthor(m_pAuthorNameEdit->text());
sto.setDescription(m_pThemeDescriptionEdit->toPlainText());
- // this is the equivalent to an empty date.toString() call, but it's needed
- // to ensure qt4 will use the default() locale and not the system() one
- sto.setDate(QLocale().toString(QDateTime::currentDateTime(), "ddd MMM d hh:mm:ss yyyy"));
+ sto.setDate(QDateTime::currentDateTime().toString(Qt::ISODate));
sto.setVersion(m_pThemeVersionEdit->text());
sto.setApplication("KVIrc " KVI_VERSION "." KVI_SOURCES_DATE);