introducing autocached settings
[quassel.git] / src / qtui / columnhandleitem.cpp
index 3631168..c9e09ce 100644 (file)
 #include <QGraphicsSceneHoverEvent>
 #include <QPainter>
 
-#include <QDebug>
-
 #include "columnhandleitem.h"
 
 ColumnHandleItem::ColumnHandleItem(qreal w, QGraphicsItem *parent)
   : QGraphicsItem(parent),
     _width(w),
     _hover(0),
-    _timeLine(150),
     _moving(false),
     _minXPos(0),
-    _maxXPos(0)
+    _maxXPos(0),
+    _timeLine(150)
 {
   setAcceptsHoverEvents(true);
   setZValue(10);
@@ -118,7 +116,7 @@ void ColumnHandleItem::hoverChanged(qreal value) {
 void ColumnHandleItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) {
   Q_UNUSED(option);
   Q_UNUSED(widget);
-  
+
   QLinearGradient gradient(0, 0, width(), 0);
   gradient.setColorAt(0.25, Qt::transparent);
   gradient.setColorAt(0.5, QColor(0, 0, 0, _hover * 200));