From 854e10d4cb0962e352de3d289f77249e24d00925 Mon Sep 17 00:00:00 2001 From: Matteo Ghetta Date: Wed, 10 Jan 2024 07:54:36 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Nyall Dawson --- src/gui/qgsmaplayersavestyledialog.cpp | 4 ++-- src/gui/qgsmaplayersavestyledialog.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/qgsmaplayersavestyledialog.cpp b/src/gui/qgsmaplayersavestyledialog.cpp index 56bd1525a56..cf3e2b8e9f6 100644 --- a/src/gui/qgsmaplayersavestyledialog.cpp +++ b/src/gui/qgsmaplayersavestyledialog.cpp @@ -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(); diff --git a/src/gui/qgsmaplayersavestyledialog.h b/src/gui/qgsmaplayersavestyledialog.h index 91d3b70a699..e1770db3fe4 100644 --- a/src/gui/qgsmaplayersavestyledialog.h +++ b/src/gui/qgsmaplayersavestyledialog.h @@ -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();