Use non-deprecated KFileItem constructor

parent 25c30932
......@@ -376,7 +376,8 @@ void Autostart::slotEditCMD(QTreeWidgetItem* ent)
DesktopStartItem *desktopEntry = dynamic_cast<DesktopStartItem*>( ent );
if ( desktopEntry )
{
const KFileItem kfi = KFileItem( KFileItem::Unknown, KFileItem::Unknown, QUrl( desktopEntry->fileName() ), true );
KFileItem kfi = KFileItem(QUrl(desktopEntry->fileName()));
kfi.setDelayedMimeTypes(true);
if (! slotEditCMD( kfi ))
return;
if (desktopEntry) {
......
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