Skip to content

Commit

Permalink
opaque drawing without background fills
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzawa-san committed Oct 13, 2024
1 parent 77fd701 commit 85cbc66
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/applications/gqrx/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,6 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="autoFillBackground">
<bool>true</bool>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
Expand Down
2 changes: 1 addition & 1 deletion src/qtgui/plotter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ CPlotter::CPlotter(QWidget *parent) : QFrame(parent)
setFocusPolicy(Qt::StrongFocus);
setAttribute(Qt::WA_PaintOnScreen,false);
setAutoFillBackground(false);
setAttribute(Qt::WA_OpaquePaintEvent, false);
setAttribute(Qt::WA_OpaquePaintEvent, true);
setAttribute(Qt::WA_NoSystemBackground, true);
setMouseTracking(true);

Expand Down

0 comments on commit 85cbc66

Please sign in to comment.