Skip to content

Commit e989c1e

Browse files
author
jef
committedJan 7, 2010
fix windows build
git-svn-id: http://svn.osgeo.org/qgis/trunk@12691 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent bb5f413 commit e989c1e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
 

‎src/app/composer/qgscomposertablewidget.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,11 @@ void QgsComposerTableWidget::on_mGridColorButton_clicked()
185185
return;
186186
}
187187

188+
#if QT_VERSION >= 0x040500
188189
QColor newColor = QColorDialog::getColor( mComposerTable->gridColor(), 0, tr( "Select grid color" ) );
190+
#else
191+
QColor newColor = QColorDialog::getColor( mComposerTable->gridColor(), 0 );
192+
#endif
189193
if ( !newColor.isValid() )
190194
{
191195
return;

‎src/core/composer/qgscomposertable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class QgsComposerMap;
2525
class QgsVectorLayer;
2626

2727
/**A class to display feature attributes in the print composer*/
28-
class QgsComposerTable: public QgsComposerItem
28+
class CORE_EXPORT QgsComposerTable: public QgsComposerItem
2929
{
3030
public:
3131
QgsComposerTable( QgsComposition* composition );

0 commit comments

Comments
 (0)
Please sign in to comment.