aboutsummaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget')
-rw-r--r--profile-widget/profilewidget2.cpp2
-rw-r--r--profile-widget/profilewidget2.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp
index 9f6158659..b82de0d9e 100644
--- a/profile-widget/profilewidget2.cpp
+++ b/profile-widget/profilewidget2.cpp
@@ -1064,7 +1064,6 @@ void ProfileWidget2::setEmptyState()
setBackgroundBrush(getColor(::BACKGROUND, isGrayscale));
dataModel->clear();
currentState = EMPTY;
- emit enableToolbar(false);
fixBackgroundPos();
background->setVisible(true);
@@ -1128,7 +1127,6 @@ void ProfileWidget2::setProfileState()
/* show the same stuff that the profile shows. */
currentState = PROFILE;
- emit enableToolbar(true);
setBackgroundBrush(getColor(::BACKGROUND, isGrayscale));
background->setVisible(false);
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h
index 1b7fcb7c8..2b7d8a88b 100644
--- a/profile-widget/profilewidget2.h
+++ b/profile-widget/profilewidget2.h
@@ -99,7 +99,6 @@ public:
signals:
void fontPrintScaleChanged(double scale);
- void enableToolbar(bool enable);
void editCurrentDive();
public