forked from Ivasoft/DSView
Supress the "QT" error message that appears here:
https://www.youtube.com/watch?v=bjITW4hfILs
This commit is contained in:
@@ -105,7 +105,7 @@ void ProtocolDock::paintEvent(QPaintEvent *)
|
|||||||
{
|
{
|
||||||
QStyleOption opt;
|
QStyleOption opt;
|
||||||
opt.init(this);
|
opt.init(this);
|
||||||
QPainter p(this);
|
QPainter p(this->viewport());
|
||||||
style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this);
|
style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user