diff --git a/src/frontends/qt4/GuiPrefs.cpp b/src/frontends/qt4/GuiPrefs.cpp index 4f96241485..7219c721cf 100644 --- a/src/frontends/qt4/GuiPrefs.cpp +++ b/src/frontends/qt4/GuiPrefs.cpp @@ -2155,7 +2155,7 @@ PrefUserInterface::PrefUserInterface(GuiPreferences * form) connect(openDocumentsInTabsCB, SIGNAL(clicked()), this, SIGNAL(changed())); #if QT_VERSION < 0x040500 - openDocumentsInTabsCB.setEnabled(false); + openDocumentsInTabsCB->setEnabled(false); #endif connect(singleCloseTabButtonCB, SIGNAL(clicked()), this, SIGNAL(changed()));