Skip to content

Commit

Permalink
fix: typo and suppress warnings
Browse files Browse the repository at this point in the history
Log: fix typo
  • Loading branch information
wineee authored and justforlxz committed Jan 12, 2024
1 parent ccc4e48 commit 00aada2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/treeland/quick/utils/helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ QJSValue Helper::getExclusiveMargins(WLayerSurface *layerSurface)
}
}

QJSValue jsMargins = qmlEngine(this)->newObject();; // Can't use QMargins in QML
QJSValue jsMargins = qmlEngine(this)->newObject(); // Can't use QMargins in QML
jsMargins.setProperty("top" , margins.top());
jsMargins.setProperty("bottom", margins.bottom());
jsMargins.setProperty("left", margins.left());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ WallpaperCardModel* PersonalizationManager::wallpaperModel(const QString &group,
return m_modes[group];

auto model = new WallpaperCardModel(this);
model->setDirectory(dir);;
model->setDirectory(dir);
m_modes[group] = model;
return m_modes[group];
}
Expand Down

0 comments on commit 00aada2

Please sign in to comment.