size_t -> unsigned, Qt QVariant has not constructor with size_t, at least

on OSX. I guess there is a typedef size_t unsigned somewhere on Linux...
This commit is contained in:
Christophe Alexandre 2008-08-27 19:48:22 +00:00
parent d42cf11ec6
commit e39e6f714a
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ namespace Hurricane {
_nextAction->setObjectName ( "viewer.file.nextBreakpoint" );
_nextAction->setStatusTip ( tr("Proceed to the next breakpoint") );
for ( size_t i=0 ; i<CellHistorySize ; i++ ) {
for ( unsigned i=0 ; i<CellHistorySize ; i++ ) {
_cellHistoryAction[i] = new QAction ( this );
_cellHistoryAction[i]->setObjectName ( QString("viewer.file.cellHistory[%1]").arg(i) );
_cellHistoryAction[i]->setVisible ( false );