aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-05-20 09:16:17 +0200
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2018-01-10 16:45:42 +0100
commitd0ff3917b1ec4982f5a62843776f241ae3711d7d (patch)
tree95515fd641207b986e66b2a51d4e5924b61d91cf
parentb7a6b7c6be6f4a9b05697797683e6210d27084fa (diff)
downloadsubsurface-d0ff3917b1ec4982f5a62843776f241ae3711d7d.tar.gz
Unused code: GroupedLineEdit::removeAllColors()
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
-rw-r--r--desktop-widgets/groupedlineedit.cpp5
-rw-r--r--desktop-widgets/groupedlineedit.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/desktop-widgets/groupedlineedit.cpp b/desktop-widgets/groupedlineedit.cpp
index fb2e26a8e..9dca08283 100644
--- a/desktop-widgets/groupedlineedit.cpp
+++ b/desktop-widgets/groupedlineedit.cpp
@@ -93,11 +93,6 @@ void GroupedLineEdit::addColor(QColor color)
d->colors.append(color);
}
-void GroupedLineEdit::removeAllColors()
-{
- d->colors.clear();
-}
-
QStringList GroupedLineEdit::getBlockStringList()
{
QStringList retList;
diff --git a/desktop-widgets/groupedlineedit.h b/desktop-widgets/groupedlineedit.h
index 1f63a5f22..20f0c8cc2 100644
--- a/desktop-widgets/groupedlineedit.h
+++ b/desktop-widgets/groupedlineedit.h
@@ -54,7 +54,6 @@ public:
QStringList getBlockStringList();
void addColor(QColor color);
- void removeAllColors();
virtual QSize sizeHint() const;
virtual QSize minimumSizeHint() const;