QTfrontend/igbox.cpp
changeset 4560 5d6c7f88db73
parent 3236 4ab3917d7d44
child 4976 088d40d8aba2
--- a/QTfrontend/igbox.cpp	Sat Dec 18 21:19:26 2010 +0300
+++ b/QTfrontend/igbox.cpp	Sat Dec 18 23:02:39 2010 +0300
@@ -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;