1c4fa70885
Update to most recent version. Problem with this is, that it requires QT5. To make it work, links to the QT packages are required. See my home, where all required packages are (linking to KDE:Qt51). Even for Factory QT5.1 is not default yet, but it is more than a half years now, that I could not do updates, so I propose to create the links and add Qt5 to Documentation:Tools. The 5.1 packages should work fine together with 4.0 (unlikely the 5.0 ones previously), so I don't expect conflicts anymore. OBS-URL: https://build.opensuse.org/request/show/198142 OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=5
20 lines
750 B
Diff
20 lines
750 B
Diff
--- src/Sigil/Dialogs/About.cpp~ 2013-02-17 12:02:24.000000000 +0100
|
|
+++ src/Sigil/Dialogs/About.cpp 2013-02-24 13:48:30.225303970 +0100
|
|
@@ -68,6 +68,7 @@
|
|
|
|
QDateTime About::GetUTCBuildTime()
|
|
{
|
|
+/*
|
|
QString time_string = QString::fromLatin1(__TIME__);
|
|
QString date_string = QString::fromLatin1(__DATE__);
|
|
Q_ASSERT(!date_string.isEmpty());
|
|
@@ -76,6 +77,8 @@
|
|
QRegularExpressionMatch mo = date_match.match(date_string);
|
|
QDate date(mo.captured(3).toInt(), MonthIndexFromString(mo.captured(1)), mo.captured(2).toInt());
|
|
return QDateTime(date, QTime::fromString(time_string, "hh:mm:ss")).toUTC();
|
|
+*/
|
|
+ return QDateTime( QDate::fromString("@DATE@", "yyyyMMdd"), QTime::fromString( "@TIME@", "hh:mm:ss" ) ).toUTC();
|
|
}
|
|
|
|
|