Skip to content

Commit

Permalink
Fix conversion between string and Uri types
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-shienkov committed Jan 18, 2025
1 parent 9844ade commit a6cfb76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/projectexplorer/qbsbuildsystemfilesnode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ export class QbsBuildSystemFilesNode extends QbsBaseNode {
const item = new vscode.TreeItem(this.getLabel());
item.id = this.uuid;
item.iconPath = {
light: path.join(this.resourcesPath, 'light', QbsBuildSystemFilesNodeIcon.Qbs),
dark: path.join(this.resourcesPath, 'dark', QbsBuildSystemFilesNodeIcon.Qbs),
light: vscode.Uri.file(path.join(this.resourcesPath, 'light', QbsBuildSystemFilesNodeIcon.Qbs)),
dark: vscode.Uri.file(path.join(this.resourcesPath, 'dark', QbsBuildSystemFilesNodeIcon.Qbs)),
};
return item;
}
Expand Down

0 comments on commit a6cfb76

Please sign in to comment.