r24477 by jghali - Fix Qt deprecation warning

scribus-commit scribus-commit at lists.scribus.net
Sat Feb 13 13:19:17 UTC 2021


Author: jghali
Date: Sat Feb 13 13:19:17 2021
New Revision: 24477

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24477
Log:
Fix Qt deprecation warning

Modified:
    trunk/Scribus/scribus/scimagecachemanager.cpp

Modified: trunk/Scribus/scribus/scimagecachemanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24477&path=/trunk/Scribus/scribus/scimagecachemanager.cpp
==============================================================================
--- trunk/Scribus/scribus/scimagecachemanager.cpp	(original)
+++ trunk/Scribus/scribus/scimagecachemanager.cpp	Sat Feb 13 13:19:17 2021
@@ -310,7 +310,7 @@
 
 void ScImageCacheManager::MetaAgeList::insert(ScImageCacheFile *p)
 {
-	m_fa.insert(qLowerBound(m_fa.begin(), m_fa.end(), p, ageLessThan), p);
+	m_fa.insert(std::lower_bound(m_fa.begin(), m_fa.end(), p, ageLessThan), p);
 }
 
 void ScImageCacheManager::MetaAgeList::update(ScImageCacheFile *p, const QFileInfo & newInfo)




More information about the scribus-commit mailing list