forked from pool/libqt5-qtbase
Accepting request 320457 from KDE:Qt5
- Update QMimeDatabase-use-QElapsedTimer.patch to latest version OBS-URL: https://build.opensuse.org/request/show/320457 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtbase?expand=0&rev=45
This commit is contained in:
parent
c56a9d1b0f
commit
22413b57e6
@ -23,7 +23,7 @@ index cca9a40b9f28e1b45a6e5e0172f512c5880a10d6..9f6bdb30981f4f236ef422cfd16f6c1c
|
||||
{
|
||||
- const QDateTime now = QDateTime::currentDateTime();
|
||||
- if (m_lastCheck.isValid() && m_lastCheck.secsTo(now) < qmime_secondsBetweenChecks)
|
||||
+ if (m_lastCheck.isValid() && m_lastCheck.elapsed() < qmime_secondsBetweenChecks)
|
||||
+ if (m_lastCheck.isValid() && m_lastCheck.elapsed() < qmime_secondsBetweenChecks * 1000)
|
||||
return false;
|
||||
- m_lastCheck = now;
|
||||
+ m_lastCheck.start();
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 4 19:05:31 UTC 2015 - hrvoje.senjan@gmail.com
|
||||
|
||||
- Update QMimeDatabase-use-QElapsedTimer.patch to latest version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 28 21:39:35 UTC 2015 - hrvoje.senjan@gmail.com
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user