Commit 27d4034e authored by Wolthera van Hövell's avatar Wolthera van Hövell 🛍

Fix screencolor picker label.

Ref T2438
parent 29d34d88
......@@ -157,10 +157,9 @@ void KisScreenColorPicker::updateColorLabelText(const QPoint &globalPos)
{
KoColor col = grabScreenColor(globalPos);
QString colname = KoColor::toQString(col);
m_d->lblScreenColorInfo->setText(tr("Cursor at %1 , %2, color: %3 \nPress ESC to cancel")
.arg(globalPos.x())
.arg(globalPos.y())
.arg(colname));
QString location = QString::number(globalPos.x())+QString(", ")+QString::number(globalPos.y());
m_d->lblScreenColorInfo->setWordWrap(true);
m_d->lblScreenColorInfo->setText(location+QString(": ")+colname);
}
bool KisScreenColorPicker::handleColorPickingMouseMove(QMouseEvent *e)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment