Skip to content

Commit

Permalink
sync: from linuxdeepin/qt5platform-plugins
Browse files Browse the repository at this point in the history
Synchronize source files from linuxdeepin/qt5platform-plugins.

Source-pull-request: linuxdeepin/qt5platform-plugins#237
  • Loading branch information
deepin-ci-robot committed Apr 13, 2024
1 parent 29ea039 commit b344dcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xcb/dnotitlebarwindowhelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ qreal DNoTitlebarWindowHelper::shadowRadius() const

QPointF DNoTitlebarWindowHelper::shadowOffset() const
{
return toPos(takePair(property("shadowOffect"), qMakePair(0.0, 0.0)));
return toPos(takePair(property("shadowOffset"), qMakePair(0.0, 0.0)));
}

QColor DNoTitlebarWindowHelper::shadowColor() const
Expand Down Expand Up @@ -244,7 +244,7 @@ void DNoTitlebarWindowHelper::setShadowRadius(qreal shadowRadius)

void DNoTitlebarWindowHelper::setShadowOffect(const QPointF &shadowOffect)
{
setProperty("shadowOffect", QString("%1,%2").arg(shadowOffect.x()).arg(shadowOffect.y()));
setProperty("shadowOffset", QString("%1,%2").arg(shadowOffect.x()).arg(shadowOffect.y()));
}

void DNoTitlebarWindowHelper::setShadowColor(const QColor &shadowColor)
Expand Down

0 comments on commit b344dcb

Please sign in to comment.