]> sigrok.org Git - pulseview.git/commitdiff
MarginWidget: Disable system background
authorMarcus Comstedt <redacted>
Tue, 8 Jul 2014 08:55:05 +0000 (10:55 +0200)
committerMarcus Comstedt <redacted>
Mon, 14 Jul 2014 12:36:27 +0000 (14:36 +0200)
This fixes a rendering problem on Android.

pv/view/marginwidget.cpp

index 063dc9fd0d43e433e37a99186718b485f8ac1375..7df80308a710760afdabea2421d91cef139e6400 100644 (file)
@@ -29,6 +29,7 @@ MarginWidget::MarginWidget(View &parent) :
        QWidget(&parent),
        _view(parent)
 {
+       setAttribute(Qt::WA_NoSystemBackground, true);
 }
 
 void MarginWidget::clear_selection()