mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
cmake-gui: Remove unused viewType slot
The slot for `setViewType(t)` and `viewType()` are never connected. Found by Clazy (`const-signal-or-slot`).
This commit is contained in:
committed by
Brad King
parent
56718903bb
commit
3f3c387a96
@@ -91,10 +91,6 @@ public slots:
|
|||||||
const QString& description, const QVariant& value,
|
const QString& description, const QVariant& value,
|
||||||
bool advanced);
|
bool advanced);
|
||||||
|
|
||||||
// set the view type
|
|
||||||
void setViewType(ViewType t);
|
|
||||||
ViewType viewType() const;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// get the properties
|
// get the properties
|
||||||
QCMakePropertyList properties() const;
|
QCMakePropertyList properties() const;
|
||||||
@@ -112,6 +108,10 @@ public:
|
|||||||
// get the data in the model for this property
|
// get the data in the model for this property
|
||||||
void getPropertyData(const QModelIndex& idx1, QCMakeProperty& prop) const;
|
void getPropertyData(const QModelIndex& idx1, QCMakeProperty& prop) const;
|
||||||
|
|
||||||
|
// set the view type
|
||||||
|
void setViewType(ViewType t);
|
||||||
|
ViewType viewType() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool EditEnabled;
|
bool EditEnabled;
|
||||||
int NewPropertyCount;
|
int NewPropertyCount;
|
||||||
|
|||||||
Reference in New Issue
Block a user