Skip to content

Commit

Permalink
Fix url to qml file
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOneRing committed Mar 19, 2024
1 parent 7a8d329 commit 2f0b566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/accountsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ AccountSettings::AccountSettings(const AccountStatePtr &accountState, QWidget *p
ui->quickWidget->engine()->addImageProvider(QStringLiteral("space"), new SpaceImageProvider(_accountState));
ui->quickWidget->engine()->addImageProvider(QStringLiteral("ownCloud"), new Resources::CoreImageProvider());
ui->quickWidget->setResizeMode(QQuickWidget::SizeRootObjectToView);
ui->quickWidget->setSource(QUrl::fromLocalFile(QStringLiteral(":/qt/qml/org/ownCloud/qmlcomponents/qml/FolderDelegate.qml")));
ui->quickWidget->setSource(QUrl(QStringLiteral(":/qt/qml/org/ownCloud/qmlcomponents/qml/FolderDelegate.qml")));
if (!ui->quickWidget->errors().isEmpty()) {
qCCritical(lcAccountSettings) << "A qml error occured" << ui->quickWidget->errors();
auto box = new QMessageBox(QMessageBox::Critical, QStringLiteral("QML Error"), QDebug::toString(ui->quickWidget->errors()));
Expand Down

0 comments on commit 2f0b566

Please sign in to comment.