Commit 14b533b8 authored by Laurent Montel's avatar Laurent Montel 😁

Make it compile now

parent eb8e9b95
......@@ -368,11 +368,14 @@ void KCardCache::setDeckName( const QString& theme )
d->cache = new KPixmapCache( QString::fromLatin1( "kdegames-cards_%1" ).arg( theme ) );
d->cache->setUseQPixmapCache( true );
QDateTime dt = QFileInfo( CardDeckInfo::svgFilePath( theme ) ).lastModified();
//PORT QT5
#if 0
if( d->cache->timestamp() < dt.toTime_t() )
{
d->cache->discard();
d->cache->setTimestamp( dt.toTime_t() );
}
#endif
}
{
QMutexLocker l( d->rendererMutex );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment