Skip to content
Permalink
Browse files
fix windows build
git-svn-id: http://svn.osgeo.org/qgis/trunk@12691 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jan 7, 2010
1 parent bb5f413 commit e989c1e989b67321831aa723a04fcc63b9a097b3
Showing with 5 additions and 1 deletion.
  1. +4 −0 src/app/composer/qgscomposertablewidget.cpp
  2. +1 −1 src/core/composer/qgscomposertable.h
@@ -185,7 +185,11 @@ void QgsComposerTableWidget::on_mGridColorButton_clicked()
return;
}

#if QT_VERSION >= 0x040500
QColor newColor = QColorDialog::getColor( mComposerTable->gridColor(), 0, tr( "Select grid color" ) );
#else
QColor newColor = QColorDialog::getColor( mComposerTable->gridColor(), 0 );
#endif
if ( !newColor.isValid() )
{
return;
@@ -25,7 +25,7 @@ class QgsComposerMap;
class QgsVectorLayer;

/**A class to display feature attributes in the print composer*/
class QgsComposerTable: public QgsComposerItem
class CORE_EXPORT QgsComposerTable: public QgsComposerItem
{
public:
QgsComposerTable( QgsComposition* composition );

0 comments on commit e989c1e

Please sign in to comment.