Skip to content
Permalink
Browse files

fix build error

  • Loading branch information
jef-n committed May 28, 2013
1 parent 8cfd421 commit 81139a65549a083c43e9b37bc4133f99b8d2d2b1
Showing with 5 additions and 5 deletions.
  1. +4 −4 src/gui/qgssublayersdialog.cpp
  2. +1 −1 src/gui/qgssublayersdialog.h
@@ -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 )
@@ -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" ) );
}

@@ -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() );
@@ -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:

0 comments on commit 81139a6

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