QTfrontend/igbox.cpp
branchexperimental3D
changeset 4812 f924be23ffb4
parent 4560 5d6c7f88db73
child 4976 088d40d8aba2
--- a/QTfrontend/igbox.cpp	Mon Dec 27 23:57:44 2010 +0100
+++ b/QTfrontend/igbox.cpp	Tue Jan 04 12:53:46 2011 +0100
@@ -24,6 +24,7 @@
 #include "igbox.h"
 
 IconedGroupBox::IconedGroupBox(QWidget * parent)
+    : QGroupBox(parent)
 {
 // Has issues with border-radius on children
 //    setAttribute(Qt::WA_PaintOnScreen, true);
@@ -56,6 +57,8 @@
 
 void IconedGroupBox::paintEvent(QPaintEvent * event)
 {
+    Q_UNUSED(event);
+
     QStylePainter painter(this);
 
     QStyleOptionGroupBox option;