]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiHyperlink.cpp
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / GuiHyperlink.cpp
index 58819fd2e034167e508be51e0859357a34451078..8323b65ff3d3f1f625f602fbfa9f53bbfcc5bdca 100644 (file)
@@ -46,6 +46,8 @@ GuiHyperlink::GuiHyperlink(GuiView & lv)
 
        setFocusProxy(targetED);
 
+       bc().setPolicy(ButtonPolicy::OkCancelReadOnlyPolicy);
+
        bc().setOK(okPB);
        bc().setCancel(closePB);
        bc().addReadOnly(targetED);
@@ -62,7 +64,7 @@ void GuiHyperlink::changed_adaptor()
 }
 
 
-void GuiHyperlink::paramsToDialog(InsetCommandParams const & icp)
+void GuiHyperlink::paramsToDialog(InsetCommandParams const & /*icp*/)
 {
        targetED->setText(toqstr(params_["target"]));
        nameED->setText(toqstr(params_["name"]));
@@ -120,4 +122,4 @@ Dialog * createGuiHyperlink(GuiView & lv) { return new GuiHyperlink(lv); }
 } // namespace lyx
 
 
-#include "GuiHyperlink_moc.cpp"
+#include "moc_GuiHyperlink.cpp"