From 0a8277776797c1ed8907a9c3cae25a1d1bb80d58 Mon Sep 17 00:00:00 2001 From: msoeken Date: Sat, 10 Jan 2009 17:41:33 +0000 Subject: [PATCH] some cleanup from the last change SVN_SILENT git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdegraphics@908962 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kruler/klineal.cpp | 2 +- kruler/klineal.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/kruler/klineal.cpp b/kruler/klineal.cpp index 114123b6..0db6eb9f 100644 --- a/kruler/klineal.cpp +++ b/kruler/klineal.cpp @@ -28,6 +28,7 @@ #include #include +#include #include #include #include @@ -76,7 +77,6 @@ KLineal::KLineal( QWidget *parent ) mScaleDirectionAction( 0 ), mCenterOriginAction( 0 ), mOffsetAction( 0 ), - mColorSelector( this ), mClicked( false ) { KWindowSystem::setType( winId(), NET::Override ); // or NET::Normal diff --git a/kruler/klineal.h b/kruler/klineal.h index 923f8281..5b951e54 100644 --- a/kruler/klineal.h +++ b/kruler/klineal.h @@ -20,8 +20,6 @@ #include -#include - class QAutoSizeLabel; class KMenu; @@ -50,7 +48,6 @@ protected: void enterEvent( QEvent *e ); void leaveEvent( QEvent *e ); - private: void drawScale( QPainter &painter ); void drawBackground( QPainter &painter ); @@ -78,7 +75,6 @@ private: QCursor mWestCursor; QCursor mSouthCursor; QCursor mDragCursor; - KColorDialog mColorSelector; QFont mScaleFont; bool mClicked; bool mLeftToRight; -- 2.11.4.GIT