From 6c2dfdc3769737be8ab95e38e606be117cc314a3 Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Thu, 7 Apr 2011 23:57:33 +0000 Subject: [PATCH] 2011-04-07 16:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp ! Fixed: a last minute change in previous commit. --- harbour/contrib/gtwvg/gtwvg.h | 2 +- harbour/contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/harbour/contrib/gtwvg/gtwvg.h b/harbour/contrib/gtwvg/gtwvg.h index ef64115d94..9e4277a9dc 100644 --- a/harbour/contrib/gtwvg/gtwvg.h +++ b/harbour/contrib/gtwvg/gtwvg.h @@ -104,7 +104,7 @@ HB_EXTERN_BEGIN #define WVT_CHAR_QUEUE_SIZE 128 #define WVT_MAX_TITLE_SIZE 128 #define WVT_MAX_ROWS 256 -#define WVT_MAX_COLS 512 +#define WVT_MAX_COLS 1024 #define WVT_MAX_WINDOWS 256 #if defined( HB_OS_WIN_CE ) # define WVT_DEFAULT_ROWS 15 diff --git a/harbour/contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp b/harbour/contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp index 7b9d0c0cb9..6ef80d64fb 100644 --- a/harbour/contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp +++ b/harbour/contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp @@ -116,11 +116,11 @@ QVariant hbqt_fetchData( PHB_ITEM block, int type, int role, int par1, int par2 if( p->type == HBQT_TYPE_QBrush ) vv = * ( ( QBrush * ) ( p->ph ) ); else if( p->type == HBQT_TYPE_QColor ) - vv = * ( ( QColor * ) ( p->ph ) ) ); + vv = * ( ( QColor * ) ( p->ph ) ); else if( p->type == HBQT_TYPE_QSize ) vv = * ( ( QSize * ) ( p->ph ) ); else if( p->type == HBQT_TYPE_QIcon ) - vv = * ( ( QIcon * ) ( p->ph ) ) ); + vv = * ( ( QIcon * ) ( p->ph ) ); else if( p->type == HBQT_TYPE_QPixmap ) vv = * ( ( QPixmap * ) ( p->ph ) ); else if( p->type == HBQT_TYPE_QFont )