]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiDocument.cpp
proper fix for bug 4936.
[lyx.git] / src / frontends / qt4 / GuiDocument.cpp
index ab3b065cab5cb5a8d5283095f9c5016850283676..9cbaec7436d01f5c9b03d1a537968002d92992ac 100644 (file)
@@ -933,7 +933,7 @@ GuiDocument::GuiDocument(GuiView & lv)
        pdfSupportModule = new UiWidget<Ui::PDFSupportUi>;
 
        connect(pdfSupportModule->use_hyperrefGB, SIGNAL(toggled(bool)),
-               this, SLOT(useHyperrefClicked()));
+               this, SLOT(change_adaptor()));
        connect(pdfSupportModule->titleLE, SIGNAL(textChanged(const QString &)),
                this, SLOT(change_adaptor()));
        connect(pdfSupportModule->authorLE, SIGNAL(textChanged(const QString &)),
@@ -1013,15 +1013,6 @@ void GuiDocument::useDefaultsClicked()
 }
 
 
-void GuiDocument::useHyperrefClicked()
-{
-       // strange as it is, Qt seems to be unable to handle this by itself
-       pdfSupportModule->bookmarksopenlevelLA->setEnabled(
-               pdfSupportModule->bookmarksopenlevelSB->isEnabled());
-       change_adaptor();
-}
-
-
 void GuiDocument::change_adaptor()
 {
        changed();