mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
Apply suggestions from code review
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
This commit is contained in:
parent
2d73394064
commit
854e10d4cb
@ -77,8 +77,8 @@ QgsMapLayerSaveStyleDialog::QgsMapLayerSaveStyleDialog( QgsMapLayer *layer, QWid
|
||||
mStyleCategoriesListView->setModel( mModel );
|
||||
|
||||
// select and deselect all categories
|
||||
connect( mShowAllButton, &QPushButton::clicked, this, &QgsMapLayerSaveStyleDialog::showAll );
|
||||
connect( mHideAllButton, &QPushButton::clicked, this, &QgsMapLayerSaveStyleDialog::hideAll );
|
||||
connect( mSelectAllButton, &QPushButton::clicked, this, &QgsMapLayerSaveStyleDialog::showAll );
|
||||
connect( mDeselectAllButton, &QPushButton::clicked, this, &QgsMapLayerSaveStyleDialog::hideAll );
|
||||
|
||||
mStyleCategoriesListView->adjustSize();
|
||||
|
||||
|
@ -104,8 +104,8 @@ class GUI_EXPORT QgsMapLayerSaveStyleDialog : public QDialog, private Ui::QgsMap
|
||||
|
||||
public slots:
|
||||
void accept() override;
|
||||
void showAll();
|
||||
void hideAll();
|
||||
void selectAll();
|
||||
void deselectAll();
|
||||
|
||||
private slots:
|
||||
void updateSaveButtonState();
|
||||
|
Loading…
x
Reference in New Issue
Block a user