Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix build error
  • Loading branch information
jef-n committed May 28, 2013
1 parent 8cfd421 commit 81139a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/gui/qgssublayersdialog.cpp
Expand Up @@ -24,14 +24,14 @@

QgsSublayersDialog::QgsSublayersDialog( ProviderType providerType, QString name,
QWidget* parent, Qt::WFlags fl )
: QDialog( parent, fl ), mName( name )
: QDialog( parent, fl ), mName( name )
{
setupUi( this );

if ( providerType == QgsSublayersDialog::Ogr )
{
setWindowTitle( tr( "Select vector layers to add..." ) );
layersTable->setHeaderLabels( QStringList() << tr( "Layer ID" ) << tr( "Layer name" )
layersTable->setHeaderLabels( QStringList() << tr( "Layer ID" ) << tr( "Layer name" )
<< tr( "Nb of features" ) << tr( "Geometry type" ) );
}
else if ( providerType == QgsSublayersDialog::Gdal )
Expand All @@ -42,7 +42,7 @@ QgsSublayersDialog::QgsSublayersDialog( ProviderType providerType, QString name,
else
{
setWindowTitle( tr( "Select layers to add..." ) );
layersTable->setHeaderLabels( QStringList() << tr( "Layer ID" ) << tr( "Layer name" )
layersTable->setHeaderLabels( QStringList() << tr( "Layer ID" ) << tr( "Layer name" )
<< tr( "Type" ) );
}

Expand Down Expand Up @@ -137,7 +137,7 @@ int QgsSublayersDialog::exec()
// if we got here, disable override cursor, open dialog and return result
// TODO add override cursor where it is missing (e.g. when opening via "Add Raster")
QCursor cursor;
bool override = ( QApplication::overrideCursor() != 0 );
bool override = ( QApplication::overrideCursor() != 0 );
if ( override )
{
cursor = QCursor( * QApplication::overrideCursor() );
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgssublayersdialog.h
Expand Up @@ -21,7 +21,7 @@
#include "qgscontexthelp.h"


class QgsSublayersDialog : public QDialog, private Ui::QgsSublayersDialogBase
class GUI_EXPORT QgsSublayersDialog : public QDialog, private Ui::QgsSublayersDialogBase
{
Q_OBJECT
public:
Expand Down

0 comments on commit 81139a6

Please sign in to comment.