Skip to content

Commit

Permalink
[addlayerbutton] Removed help button
Browse files Browse the repository at this point in the history
Almost all provider dialogs have its own button
resulting in duplicated help buttons in the
unified dialog.
  • Loading branch information
elpaso committed Jun 2, 2017
1 parent 828ec13 commit 43a3ac7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/app/qgsdatasourcemanagerdialog.h
Expand Up @@ -49,7 +49,6 @@ class QgsDataSourceManagerDialog : public QgsOptionsDialogBase
void rasterLayerAdded( QString const &uri, QString const &baseName, QString const &providerKey );
void vectorLayerAdded( const QString &vectorLayerPath, const QString &baseName, const QString &providerKey );
void vectorLayersAdded( const QStringList &layerQStringList, const QString &enc, const QString &dataSourceType );
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "TODO_PLACEHOLDER.html" ) ); }
//! Reset current page to previously selected page
void setPreviousPage();

Expand Down
4 changes: 2 additions & 2 deletions src/ui/qgsdatasourcemanagerdialog.ui
Expand Up @@ -9,7 +9,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>1200</width>
<width>1000</width>
<height>600</height>
</rect>
</property>
Expand Down Expand Up @@ -184,7 +184,7 @@
<item row="0" column="0">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Close|QDialogButtonBox::Help</set>
<set>QDialogButtonBox::Close</set>
</property>
</widget>
</item>
Expand Down

0 comments on commit 43a3ac7

Please sign in to comment.