]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/Dialogs.C
compile fix for OS X
[lyx.git] / src / frontends / qt4 / Dialogs.C
index 53efbad427552c83d026bef0088210758c1f7d95..e5248d16b7d28191218a5d91a3a4284095d22d7c 100644 (file)
@@ -278,7 +278,8 @@ Dialogs::DialogPtr Dialogs::build(string const & name)
                dialog->setView(new QPrint(*dialog));
                dialog->bc().bp(new OkApplyCancelPolicy);
        } else if (name == "ref") {
-               dialog->setController(new ControlRef(*dialog));
+               // full qualification because qt4 has also a ControlRef type
+               dialog->setController(new lyx::frontend::ControlRef(*dialog));
                dialog->setView(new QRef(*dialog));
                dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
        } else if (name == "sendto") {