Skip to content
Permalink
Browse files

fix build with Qt <4.7 (eg. Debian Lucid)

  • Loading branch information
jef-n committed Oct 9, 2013
1 parent 15efd23 commit f49ea3680b19927539885c7fc62f74d74d8dc862
Showing with 6 additions and 3 deletions.
  1. +6 −0 src/gui/qgsrelationadddlg.cpp
  2. +0 −3 src/ui/qgsrelationadddlgbase.ui
@@ -5,6 +5,12 @@ QgsRelationAddDlg::QgsRelationAddDlg( QWidget *parent ) :
QDialog( parent )
{
setupUi( this );

#if QT_VERSION >= 0x40700
mTxtRelationId->setPlaceholderText( tr( "[Generated automatically]" ) );
#else
mTxtRelationId->setToolTip( tr( "[Generated automatically]" ) );
#endif
}

void QgsRelationAddDlg::addLayers( QList< QgsVectorLayer* > layers )
@@ -80,9 +80,6 @@
</item>
<item row="8" column="1">
<widget class="QLineEdit" name="mTxtRelationId">
<property name="placeholderText">
<string>[Generated automatically]</string>
</property>
</widget>
</item>
<item row="1" column="1">

0 comments on commit f49ea36

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