SHA256
1
0
forked from pool/sigil
Files
sigil/sigil-gt-0.9.0-Dialogs-About.cpp.patch
Eric Schirra 72570f4043 - Update to 2.3.0
* New Features
    - removed support for building Sigil with Qt5 as our code had become a rats nest of qt version ifdefs.
      See our git branch "qt5final" for the very last buildable version of Sigil under Qt5
    - our new minium version to build Qt is Qt 6.4.0 or later
    - removed the need and usage for Qt6Compat5 as its contents were deprecated and will go away eventually
    - added support for using the ICU library to help replace the range of encodings supported by the old QTextCodec
    - we are now using NFC unicode normalization form for all content, links, urls, and file paths.
    - made Sigil's Well-Formed Check (Sanity Check) more robust to whitespace parsing rules
      and allowed it to detect and report missing XML Headers
    - we have upgraded to use Qt 6.7.2 and Python 3.11.9 for the base of our Windows and MacOS releases
    - added a Bookmark Location toolbar icon right beside the Back button for easier use
    - Opening EditTOC, SpeckcheckEditor or MetaDataEditor will now highlight the first line entry
    - Add new Tool: Rebase OPF Manifest IDs on Current Filenames
    - Update to 3rdparty PCRE2 version 10.44 for bug fixes
    - General code cleanup to remove unneeded hacks and workarounds for old Qt bugs now fixed
  * Bug Fixes
    - reverted all Qt Buttons and CheckBoxes to default TabFocus to speed up focus changes and reduce clicks
    - fixed SelectFiles (AddCover, Insert Image) to again use the arrows keys to walk the list
    - fixed some lost or stolen focus issues
    - fix overwriting of existing nav document and cover-image manifest properties
    - fix for Reports column sorting that use thousands group separators
    - fix for Reports file size column that did not properly use QLocale for decimal points and separators
    - fix crashing due to PCRE2 bugs in Qt 6.7.2 with their internal PCRE2
- Update documentation to 2024.08.15

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=93
2024-09-01 10:47:49 +00:00

21 lines
924 B
Diff

diff -Pdpru Sigil-0.9.0.orig/src/Dialogs/About.cpp Sigil-0.9.0/src/Dialogs/About.cpp
--- Sigil-0.9.0.orig/src/Dialogs/About.cpp 2015-11-04 14:52:16.000000000 +0100
+++ Sigil-0.9.0/src/Dialogs/About.cpp 2015-11-29 10:12:53.023905765 +0100
@@ -75,6 +75,7 @@ About::About(QWidget *parent)
QDateTime About::GetUTCBuildTime()
{
+ /*
QString time_string = QString::fromLatin1(__TIME__);
QString date_string = QString::fromLatin1(__DATE__);
Q_ASSERT(!date_string.isEmpty());
@@ -83,6 +84,8 @@ QDateTime About::GetUTCBuildTime()
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();
}