summaryrefslogtreecommitdiff
path: root/core/settings/light-and-power/calibration.cpp
Unidiff
Diffstat (limited to 'core/settings/light-and-power/calibration.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/light-and-power/calibration.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/settings/light-and-power/calibration.cpp b/core/settings/light-and-power/calibration.cpp
index c5377d0..504520e 100644
--- a/core/settings/light-and-power/calibration.cpp
+++ b/core/settings/light-and-power/calibration.cpp
@@ -19,25 +19,24 @@
19++=   -.     .`     .: 19++=   -.     .`     .:
20 :     =  ...= . :.=- You should have received a copy of the GNU 20 :     =  ...= . :.=- You should have received a copy of the GNU
21 -.   .:....=;==+<; General Public License along with this file; 21 -.   .:....=;==+<; General Public License along with this file;
22  -_. . .   )=.  = see the file COPYING. If not, write to the 22  -_. . .   )=.  = see the file COPYING. If not, write to the
23    --        :-=` Free Software Foundation, Inc., 23    --        :-=` Free Software Foundation, Inc.,
24 59 Temple Place - Suite 330, 24 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA. 25 Boston, MA 02111-1307, USA.
26 26
27*/ 27*/
28#include "calibration.h" 28#include "calibration.h"
29 29
30#include <qpainter.h> 30#include <qpainter.h>
31#include <qpalette.h>
32#include <qpixmap.h> 31#include <qpixmap.h>
33 32
34#define BRD 3 33#define BRD 3
35 34
36Calibration::Calibration ( QWidget *parent, const char *name, WFlags fl ) 35Calibration::Calibration ( QWidget *parent, const char *name, WFlags fl )
37 : QWidget ( parent, name, fl | WRepaintNoErase ) 36 : QWidget ( parent, name, fl | WRepaintNoErase )
38{ 37{
39 setBackgroundMode ( NoBackground ); 38 setBackgroundMode ( NoBackground );
40 39
41 m_scale = QSize ( 256, 256 ); 40 m_scale = QSize ( 256, 256 );
42 m_steps = 5; 41 m_steps = 5;
43 m_dragged = -1; 42 m_dragged = -1;