Skip to content
Permalink
Browse files

fix nightly builds for Qt <4.7

  • Loading branch information
jef-n committed Jun 14, 2012
1 parent ff87dee commit efb54eaf3b01f730860d8dcafc1f66f4f2109945
Showing with 8 additions and 7 deletions.
  1. +8 −4 src/gui/qgsexpressionbuilderwidget.cpp
  2. +0 −3 src/ui/qgsexpressionbuilder.ui
@@ -87,7 +87,11 @@ QgsExpressionBuilderWidget::QgsExpressionBuilderWidget( QWidget *parent )
if ( func.mParams >= 1 )
name += "(";
registerItem( func.mGroup, func.mName, " " + name + " " );
};
}

#if QT_VERSION >= 0x040700
txtSearchEdit->setPlaceHolderText( tr( "Search" ) );
#endif
}


@@ -114,9 +118,9 @@ void QgsExpressionBuilderWidget::currentChanged( const QModelIndex &index, const
mValueListWidget->clear();
}

btnLoadAll->setVisible(item->getItemType() == QgsExpressionItem::Field);
btnLoadSample->setVisible(item->getItemType() == QgsExpressionItem::Field);
mValueGroupBox->setVisible(item->getItemType() == QgsExpressionItem::Field);
btnLoadAll->setVisible( item->getItemType() == QgsExpressionItem::Field );
btnLoadSample->setVisible( item->getItemType() == QgsExpressionItem::Field );
mValueGroupBox->setVisible( item->getItemType() == QgsExpressionItem::Field );

// Show the help for the current item.
QString help = loadFunctionHelp( item );
@@ -79,9 +79,6 @@
<property name="enabled">
<bool>true</bool>
</property>
<property name="placeholderText">
<string>Search</string>
</property>
</widget>
</item>
</layout>

0 comments on commit efb54ea

Please sign in to comment.
You can’t perform that action at this time.