Commit c7c28fa3 authored by Thorsten Staerk's avatar Thorsten Staerk Committed by Thorsten Staerk

KStandardDirs::locate("data", "ktimetracker/ktimetracker.ics")

will deliver QString() if the file ktimetracker.ics does not exist
BUGS:282339
(cherry picked from commit 7b76fb74)
parent 8bdfa93f
......@@ -56,7 +56,6 @@ ktimetrackerpart::ktimetrackerpart( QWidget *parentWidget, QObject *parent, cons
KGlobal::locale()->insertCatalog("libkdepim");
// we need an instance
mMainWidget = new TimetrackerWidget( parentWidget );
mMainWidget->openFile(QString(KStandardDirs::locate("data", "ktimetracker/ktimetracker.ics")));
setWidget( mMainWidget );
setXMLFile( "ktimetrackerui.rc" );
makeMenus();
......
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