Commit 4497a294 authored by Halla Rempt's avatar Halla Rempt

Oops, was too hasty...

parent 98810a0d
......@@ -378,9 +378,7 @@ KisMainWindow::KisMainWindow()
QString doc;
QStringList allFiles = KGlobal::dirs()->findAllResources("data", "krita/krita.rc");
KIS_ASSERT(allFiles.size() > 0);
kis_assert_exception(allFiles.size() > 0); // We need at least one krita.rc file!
KIS_ASSERT(allFiles.size() > 0); // We need at least one krita.rc file!
setXMLFile(findMostRecentXMLFile(allFiles, doc));
setLocalXMLFile(KStandardDirs::locateLocal("data", "krita/krita.rc"));
......
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