summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile')
-rw-r--r--qt-ui/profile/profilewidget2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index bd51b3310..fcad3197f 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -740,7 +740,7 @@ void ProfileWidget2::setEmptyState()
setBackgroundBrush(getColor(::BACKGROUND, isGrayscale));
dataModel->clear();
currentState = EMPTY;
- MainWindow::instance()->setToolButtonsEnabled(false);
+ MainWindow::instance()->setEnabledToolbar(false);
fixBackgroundPos();
background->setVisible(true);
@@ -788,7 +788,7 @@ void ProfileWidget2::setProfileState()
MainWindow::instance()->enableDcShortcuts();
currentState = PROFILE;
- MainWindow::instance()->setToolButtonsEnabled(true);
+ MainWindow::instance()->setEnabledToolbar(true);
toolTipItem->readPos();
setBackgroundBrush(getColor(::BACKGROUND, isGrayscale));