Skip to content

Commit

Permalink
Update colortoolbar.cpp
Browse files Browse the repository at this point in the history
Remove color label tooltip, it's annoying.
  • Loading branch information
rodlie committed Dec 1, 2024
1 parent 15f8ec8 commit 49cfcbe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ui/widgets/colortoolbar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,15 @@ void ColorToolBar::setupWidgets(Document &document)

mColorFillAct->setToolTip(QString(colorToolTip).arg(tr("Fill"),
tr("Adjust fill color for selected")));
mColorFill->setToolTip(mColorFillAct->toolTip());
//mColorFill->setToolTip(mColorFillAct->toolTip());

mColorStrokeAct->setToolTip(QString(colorToolTip).arg(tr("Stroke"),
tr("Adjust stroke color for selected")));
mColorStroke->setToolTip(mColorStrokeAct->toolTip());
//mColorStroke->setToolTip(mColorStrokeAct->toolTip());

mColorBackgroundAct->setToolTip(QString(colorToolTip).arg(tr("Background"),
tr("Adjust background color")));
mColorBackground->setToolTip(mColorBackgroundAct->toolTip());
//mColorBackground->setToolTip(mColorBackgroundAct->toolTip());

connect(mColorFill, &ColorToolButton::message,
this, [this](const QString &msg){ emit message(msg); });
Expand Down

0 comments on commit 49cfcbe

Please sign in to comment.