fixed #40 with an explicit static_cast.

This commit is contained in:
sfb 2013-05-02 14:31:10 -05:00
parent 33c73f3f16
commit 8fe6eee93c
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 );