fixed #40 with an explicit static_cast.

This commit is contained in:
sfb 2013-05-02 14:31:10 -05:00
parent 3edb0e439c
commit 76dea51b8f
3 changed files with 48265 additions and 48265 deletions

View file

@ -84,7 +84,7 @@ namespace GUIEditor
CInterfaceGroup *mg = CWidgetManager::getInstance()->getMasterGroupFromId( masterGroup );
if( mg != NULL )
{
QTreeWidgetItem *item = new QTreeWidgetItem( NULL );
QTreeWidgetItem *item = new QTreeWidgetItem( static_cast<QTreeWidgetItem*>(NULL) );
item->setText( 0, "ui" );
widgetHT->addTopLevelItem( item );