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
(cherry picked from commit 7b76fb74)
parent 8bdfa93f
......@@ -56,7 +56,6 @@ ktimetrackerpart::ktimetrackerpart( QWidget *parentWidget, QObject *parent, cons
// we need an instance
mMainWidget = new TimetrackerWidget( parentWidget );
mMainWidget->openFile(QString(KStandardDirs::locate("data", "ktimetracker/ktimetracker.ics")));
setWidget( mMainWidget );
setXMLFile( "ktimetrackerui.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