Commit 2f757ebe authored by Helio Chissini de Castro's avatar Helio Chissini de Castro 💬

- Fix compilation against new gcc 3.4.x

Reference:
array bound forbidden after parenthesized type-id

svn path=/trunk/koffice/; revision=334037
parent d00f7cb8
......@@ -37,7 +37,7 @@ KisMultiIntegerFilterWidget::KisMultiIntegerFilterWidget( KisFilter* nfilter, QW
this->setCaption(caption);
QGridLayout *widgetLayout = new QGridLayout(this, m_nbintegerWidgets, 2);
//Initialize the integerwidget
m_integerWidgets = new (IntegerWidget*)[ m_nbintegerWidgets ];
m_integerWidgets = new IntegerWidget*[ m_nbintegerWidgets ];
for( Q_INT32 i = 0; i < m_nbintegerWidgets; ++i)
{
m_integerWidgets[i] = new IntegerWidget( iwparam[i].min, iwparam[i].max, this, iwparam[i].name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment