Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix windows build
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12691 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jan 7, 2010
1 parent c86e095 commit 6cc58fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/app/composer/qgscomposertablewidget.cpp
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposertable.h
Expand Up @@ -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 );
Expand Down

0 comments on commit 6cc58fb

Please sign in to comment.