2
0
forked from Ivasoft/DSView

Supress the "QT" error message that appears here:

https://www.youtube.com/watch?v=bjITW4hfILs
This commit is contained in:
teyssieuman
2016-01-06 22:07:03 +01:00
parent a723b459d7
commit 73cbab6f43

View File

@@ -105,7 +105,7 @@ void ProtocolDock::paintEvent(QPaintEvent *)
{
QStyleOption opt;
opt.init(this);
QPainter p(this);
QPainter p(this->viewport());
style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this);
}