diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index 845503271c..f3bb2dfb3a 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -2317,7 +2317,7 @@ void GuiDocument::paramsToDialog() bp_.sides == TwoSides); pageLayoutModule->backgroundTB->setStyleSheet( - colorButtonStyleSheet(QColor(rgb2qcolor(bp_.backgroundcolor)))); + colorButtonStyleSheet(rgb2qcolor(bp_.backgroundcolor))); set_backgroundcolor = bp_.backgroundcolor; lengthToWidgets(pageLayoutModule->paperwidthLE,