diff options
author | Christoph GrĂ¼ninger <foss@grueninger.de> | 2024-01-07 14:45:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-01-08 17:45:41 (GMT) |
commit | 3f3c387a96c7fdd62145270a02039473c624d7bb (patch) | |
tree | 7f597cc33e7453f1bfd0f5db5aa827468a04326c /Source | |
parent | 56718903bb7a757ed6969ca2b8e56fc405e290cb (diff) | |
download | CMake-3f3c387a96c7fdd62145270a02039473c624d7bb.zip CMake-3f3c387a96c7fdd62145270a02039473c624d7bb.tar.gz CMake-3f3c387a96c7fdd62145270a02039473c624d7bb.tar.bz2 |
cmake-gui: Remove unused viewType slot
The slot for `setViewType(t)` and `viewType()` are never connected.
Found by Clazy (`const-signal-or-slot`).
Diffstat (limited to 'Source')
-rw-r--r-- | Source/QtDialog/QCMakeCacheView.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/QtDialog/QCMakeCacheView.h b/Source/QtDialog/QCMakeCacheView.h index 89068ab..549cca2 100644 --- a/Source/QtDialog/QCMakeCacheView.h +++ b/Source/QtDialog/QCMakeCacheView.h @@ -91,10 +91,6 @@ public slots: const QString& description, const QVariant& value, bool advanced); - // set the view type - void setViewType(ViewType t); - ViewType viewType() const; - public: // get the properties QCMakePropertyList properties() const; @@ -112,6 +108,10 @@ public: // get the data in the model for this property void getPropertyData(const QModelIndex& idx1, QCMakeProperty& prop) const; + // set the view type + void setViewType(ViewType t); + ViewType viewType() const; + protected: bool EditEnabled; int NewPropertyCount; |