Commit 0a1ec76d authored by Bernd Buschinski's avatar Bernd Buschinski

Fixed ColorChooser in DCC Whiteboard

parent 6ac060ed
......@@ -123,8 +123,8 @@ namespace Konversation
if (whichColor == ForegroundColor || whichColor == BackgroundColor)
{
QColor col = color(whichColor);
if (QColorDialog::getColor(col, this) == QColorDialog::Accepted)
QColor col = QColorDialog::getColor(color(whichColor), this);
if (col.isValid())
{
setColor(whichColor, col);
update();
......
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