Skip to content
Permalink
Browse files

[ui] Fix data source selection dialog icon size

  • Loading branch information
nirvn committed Apr 16, 2019
1 parent 9cb58a8 commit d87c0a2df89c4707080452d52cc5940cd505e9f0
Showing with 22 additions and 3 deletions.
  1. +6 −2 src/gui/qgsdatasourceselectdialog.cpp
  2. +16 −1 src/ui/qgsdatasourceselectdialog.ui
@@ -16,10 +16,12 @@

#include "qgsdatasourceselectdialog.h"
#include "ui_qgsdatasourceselectdialog.h"
#include "qgssettings.h"
#include "qgsgui.h"

#include "qgis.h"
#include "qgsbrowsermodel.h"
#include "qgsgui.h"
#include "qgsguiutils.h"
#include "qgssettings.h"

#include <QPushButton>
#include <QMenu>
@@ -105,6 +107,8 @@ QgsDataSourceSelectDialog::QgsDataSourceSelectDialog(
connect( mLeFilter, &QgsFilterLineEdit::textChanged, this, &QgsDataSourceSelectDialog::setFilter );
connect( group, &QActionGroup::triggered, this, &QgsDataSourceSelectDialog::setFilterSyntax );

mBrowserToolbar->setIconSize( QgsGuiUtils::iconSize( true ) );

if ( QgsSettings().value( QStringLiteral( "datasourceSelectFilterVisible" ), false, QgsSettings::Section::Gui ).toBool() )
{
mActionShowFilter->trigger();
@@ -14,11 +14,26 @@
<string>Dialog</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>4</number>
</property>
<property name="leftMargin">
<number>4</number>
</property>
<property name="topMargin">
<number>4</number>
</property>
<property name="rightMargin">
<number>4</number>
</property>
<property name="bottomMargin">
<number>4</number>
</property>
<item>
<widget class="QWidget" name="mContents">
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>6</number>
<number>3</number>
</property>
<property name="leftMargin">
<number>0</number>

0 comments on commit d87c0a2

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