Skip to content

Commit

Permalink
fix minor typo in the XML file filter string (add missed dot)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Aug 3, 2018
1 parent 06aff72 commit 3e76088
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/app/qgsbookmarks.cpp
Expand Up @@ -274,7 +274,7 @@ void QgsBookmarks::importFromXml()

QString lastUsedDir = settings.value( QStringLiteral( "Windows/Bookmarks/LastUsedDirectory" ), QDir::homePath() ).toString();
QString fileName = QFileDialog::getOpenFileName( this, tr( "Import Bookmarks" ), lastUsedDir,
tr( "XML files (*.xml *XML)" ) );
tr( "XML files (*.xml *.XML)" ) );
if ( fileName.isEmpty() )
{
return;
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsowssourceselect.cpp
Expand Up @@ -308,7 +308,7 @@ void QgsOWSSourceSelect::mSaveButton_clicked()
void QgsOWSSourceSelect::mLoadButton_clicked()
{
QString fileName = QFileDialog::getOpenFileName( this, tr( "Load Connections" ), QDir::homePath(),
tr( "XML files (*.xml *XML)" ) );
tr( "XML files (*.xml *.XML)" ) );
if ( fileName.isEmpty() )
{
return;
Expand Down
2 changes: 1 addition & 1 deletion src/gui/symbology/qgscategorizedsymbolrendererwidget.cpp
Expand Up @@ -945,7 +945,7 @@ void QgsCategorizedSymbolRendererWidget::matchToSymbolsFromXml()
QString openFileDir = settings.value( QStringLiteral( "UI/lastMatchToSymbolsDir" ), QDir::homePath() ).toString();

QString fileName = QFileDialog::getOpenFileName( this, tr( "Match to Symbols from File" ), openFileDir,
tr( "XML files (*.xml *XML)" ) );
tr( "XML files (*.xml *.XML)" ) );
if ( fileName.isEmpty() )
{
return;
Expand Down
2 changes: 1 addition & 1 deletion src/gui/symbology/qgsstyleexportimportdialog.cpp
Expand Up @@ -505,7 +505,7 @@ void QgsStyleExportImportDialog::browse()
if ( type == QLatin1String( "file" ) )
{
mFileName = QFileDialog::getOpenFileName( this, tr( "Load Styles" ), QDir::homePath(),
tr( "XML files (*.xml *XML)" ) );
tr( "XML files (*.xml *.XML)" ) );
if ( mFileName.isEmpty() )
{
return;
Expand Down
2 changes: 1 addition & 1 deletion src/providers/db2/qgsdb2sourceselect.cpp
Expand Up @@ -263,7 +263,7 @@ void QgsDb2SourceSelect::btnSave_clicked()
void QgsDb2SourceSelect::btnLoad_clicked()
{
QString fileName = QFileDialog::getOpenFileName( this, tr( "Load Connections" ), QStringLiteral( "." ),
tr( "XML files (*.xml *XML)" ) );
tr( "XML files (*.xml *.XML)" ) );
if ( fileName.isEmpty() )
{
return;
Expand Down
2 changes: 1 addition & 1 deletion src/providers/mssql/qgsmssqlsourceselect.cpp
Expand Up @@ -266,7 +266,7 @@ void QgsMssqlSourceSelect::btnSave_clicked()
void QgsMssqlSourceSelect::btnLoad_clicked()
{
QString fileName = QFileDialog::getOpenFileName( this, tr( "Load Connections" ), QDir::homePath(),
tr( "XML files (*.xml *XML)" ) );
tr( "XML files (*.xml *.XML)" ) );
if ( fileName.isEmpty() )
{
return;
Expand Down
2 changes: 1 addition & 1 deletion src/providers/oracle/qgsoraclesourceselect.cpp
Expand Up @@ -284,7 +284,7 @@ void QgsOracleSourceSelect::on_btnSave_clicked()
void QgsOracleSourceSelect::on_btnLoad_clicked()
{
QString fileName = QFileDialog::getOpenFileName( this, tr( "Load Connections" ), QStringLiteral( "." ),
tr( "XML files (*.xml *XML)" ) );
tr( "XML files (*.xml *.XML)" ) );
if ( fileName.isEmpty() )
{
return;
Expand Down
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspgsourceselect.cpp
Expand Up @@ -321,7 +321,7 @@ void QgsPgSourceSelect::btnSave_clicked()
void QgsPgSourceSelect::btnLoad_clicked()
{
QString fileName = QFileDialog::getOpenFileName( this, tr( "Load Connections" ), QDir::homePath(),
tr( "XML files (*.xml *XML)" ) );
tr( "XML files (*.xml *.XML)" ) );
if ( fileName.isEmpty() )
{
return;
Expand Down
2 changes: 1 addition & 1 deletion src/providers/wfs/qgswfssourceselect.cpp
Expand Up @@ -719,7 +719,7 @@ void QgsWFSSourceSelect::btnSave_clicked()
void QgsWFSSourceSelect::btnLoad_clicked()
{
QString fileName = QFileDialog::getOpenFileName( this, tr( "Load Connections" ), QDir::homePath(),
tr( "XML files (*.xml *XML)" ) );
tr( "XML files (*.xml *.XML)" ) );
if ( fileName.isEmpty() )
{
return;
Expand Down
2 changes: 1 addition & 1 deletion src/providers/wms/qgswmsdataitems.cpp
Expand Up @@ -511,7 +511,7 @@ void QgsXyzTileRootItem::saveXyzTilesServers()
void QgsXyzTileRootItem::loadXyzTilesServers()
{
QString fileName = QFileDialog::getOpenFileName( nullptr, tr( "Load Connections" ), QDir::homePath(),
tr( "XML files (*.xml *XML)" ) );
tr( "XML files (*.xml *.XML)" ) );
if ( fileName.isEmpty() )
{
return;
Expand Down
2 changes: 1 addition & 1 deletion src/providers/wms/qgswmssourceselect.cpp
Expand Up @@ -221,7 +221,7 @@ void QgsWMSSourceSelect::btnSave_clicked()
void QgsWMSSourceSelect::btnLoad_clicked()
{
QString fileName = QFileDialog::getOpenFileName( this, tr( "Load Connections" ), QDir::homePath(),
tr( "XML files (*.xml *XML)" ) );
tr( "XML files (*.xml *.XML)" ) );
if ( fileName.isEmpty() )
{
return;
Expand Down

0 comments on commit 3e76088

Please sign in to comment.