Skip to content
Permalink
Browse files

Fix for compilers that do not cope with template argument

  • Loading branch information
dakcarto committed Sep 18, 2012
1 parent a2d0ee8 commit 396c431891670a9e0b3aa588df16cb2b950de104
@@ -290,7 +290,7 @@ void QgsCptCityColorRampV2Dialog::updateTreeView( QgsCptCityDataItem *item, bool
lblSchemePath->setText( "" );
// lblCollectionName->setText( item->path() );
lblCollectionInfo->setText( item->info() );
updateCopyingInfo( );
clearCopyingInfo( );
updateListWidget( item );
}
else
@@ -434,6 +434,11 @@ void QgsCptCityColorRampV2Dialog::updatePreview( bool clear )
updateCopyingInfo( mRamp->copyingInfo() );
}

void QgsCptCityColorRampV2Dialog::clearCopyingInfo()
{
updateCopyingInfo( QMap< QString, QString >() );
}

void QgsCptCityColorRampV2Dialog::updateCopyingInfo( const QMap< QString, QString >& copyingMap )
{
QString authorStr = copyingMap.value( "authors" );
@@ -544,7 +549,7 @@ bool QgsCptCityColorRampV2Dialog::updateRamp()
mListRamps.clear();
cboVariantName->clear();
updatePreview( true );
updateCopyingInfo( );
clearCopyingInfo( );

QgsDebugMsg( "schemeName= " + mRamp->schemeName() );
if ( mRamp->schemeName() == "" )
@@ -56,7 +56,8 @@ class GUI_EXPORT QgsCptCityColorRampV2Dialog : public QDialog, private Ui::QgsCp
protected:

void updatePreview( bool clear = false );
void updateCopyingInfo( const QMap< QString, QString >& copyingMap = QMap< QString, QString >() );
void clearCopyingInfo();
void updateCopyingInfo( const QMap< QString, QString >& copyingMap );
void updateTreeView( QgsCptCityDataItem *item, bool resetRamp = true );
void updateListWidget( QgsCptCityDataItem *item );
bool eventFilter( QObject *obj, QEvent *event );

0 comments on commit 396c431

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