Skip to content

Commit

Permalink
fix: Fix DToolTip control, also modified to rounded corner values.
Browse files Browse the repository at this point in the history
The result is not as expected, not aesthetically pleasing, so it needs to be left alone.

Log:
Change-Id: I72624d44247d71e3eef8f9fddaddc94342c431a5
Reviewed-on: http://gerrit.uniontech.com/c/dtkgui/+/7957
Reviewed-by: zhangwengeng <[email protected]>
Reviewed-by: <[email protected]>
Reviewed-by: chenke <[email protected]>
Tested-by: <[email protected]>
  • Loading branch information
XMuli authored and kegechen committed Oct 20, 2020
1 parent de1f742 commit 6ae8f77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/dplatformhandle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,9 @@ bool DPlatformHandle::isEnabledDXcb(const QWindow *window)

static void initWindowRadius(QWindow *window)
{
if (window->property(_windowRadius).isValid())
return;

auto theme = DGuiApplicationHelper::instance()->windowTheme(window);
int radius = theme->windowRadius();

Expand Down

0 comments on commit 6ae8f77

Please sign in to comment.