-rw-r--r-- | library/imageedit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/imageedit.cpp b/library/imageedit.cpp index 7f98ebb..0c22448 100644 --- a/library/imageedit.cpp +++ b/library/imageedit.cpp @@ -7,33 +7,33 @@ ** GNU General Public License version 2 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** ** See http://www.trolltech.com/gpl/ for GPL licensing information. ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include "imageedit.h" #include <qpainter.h> -ImageEdit::ImageEdit( QWidget *parent = 0, const char *name = 0 ) +ImageEdit::ImageEdit( QWidget *parent, const char *name ) : QScrollView( parent, name, WNorthWestGravity | WResizeNoErase ), buffer() { buffer.resize( size() ); buffer.fill( colorGroup().color( QColorGroup::Base ) ); } ImageEdit::~ImageEdit() { } void ImageEdit::contentsMousePressEvent( QMouseEvent *e ) { lastPos = e->pos(); } |