Fix filepropertiesdialog error

This commit is contained in:
reionwong 2021-08-31 00:17:39 +08:00
parent bbfc13e2cc
commit b8b560d06a

View file

@ -56,8 +56,9 @@ FilePropertiesDialog::FilePropertiesDialog(const KFileItemList &items, QQuickVie
FilePropertiesDialog::FilePropertiesDialog(const QUrl &url, QQuickView *parent)
: QQuickView(parent)
, m_items { KFileItem(url) }
{
m_items.append(KFileItem(url));
init();
}