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.
This commit is contained in:
Pritpal Bedi
2011-04-07 23:57:33 +00:00
parent 6695517be2
commit 6c2dfdc376
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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 )