Skip to content

Commit

Permalink
Merge pull request #1059 from bramtechs/patch-1
Browse files Browse the repository at this point in the history
Docs: Fix variable name typo in images.md
  • Loading branch information
sedwards2009 authored Nov 30, 2024
2 parents d4e2780 + 8e0675d commit 4a6e860
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/guides/images.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ const { QMainWindow, QPixmap, QLabel } = require('@nodegui/nodegui');
const win = new QMainWindow();
const label = new QLabel();

const absoulteImagePath = '/Users/atulr/Project/nodegui/nodegui/extras/assets/logox200.png';
const absoluteImagePath = '/Users/atulr/Project/nodegui/nodegui/extras/assets/logox200.png';
const image = new QPixmap();
image.load(absoulteImagePath);
image.load(absoluteImagePath);

label.setPixmap(image);

Expand Down

0 comments on commit 4a6e860

Please sign in to comment.