Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/KisWelcomePageWidget.cpp
Context not available. | |||||
209 | else { | 209 | else { | ||
---|---|---|---|---|---|
210 | if (QFileInfo(recentFileUrlPath).exists()) { | 210 | if (QFileInfo(recentFileUrlPath).exists()) { | ||
211 | if (recentFileUrlPath.endsWith("ora") || recentFileUrlPath.endsWith("kra")) { | 211 | if (recentFileUrlPath.endsWith("ora") || recentFileUrlPath.endsWith("kra")) { | ||
212 | QScopedPointer<KoStore> store(KoStore::createStore(QUrl::fromLocalFile(recentFileUrlPath), KoStore::Read)); | 212 | QScopedPointer<KoStore> store(KoStore::createStore(recentFileUrlPath, KoStore::Read)); | ||
213 | if (store) { | 213 | if (store) { | ||
214 | if (store->open(QString("Thumbnails/thumbnail.png")) | 214 | if (store->open(QString("Thumbnails/thumbnail.png")) | ||
215 | || store->open(QString("preview.png"))) { | 215 | || store->open(QString("preview.png"))) { | ||
Context not available. |