From e8bd4f14a412a8b8682ef04ab7f662ba1087146b Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Sun, 26 Jul 2009 13:32:32 +0000 Subject: [PATCH] Fix monolithic builds git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30793 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiApplication.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index 9432b9b07c..9101f04f86 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -1484,7 +1484,8 @@ bool GuiApplication::readUIFile(QString const & name, bool include) "Falling back to default.\n" "Please look under Tools>Preferences>User Interface and\n" "check which user interface file you are using."), qstring_to_ucs4(name))); - ui_path = libFileSearch("ui", "default", "ui"); + // QString to disambiguate for monolithic builds + ui_path = libFileSearch("ui", QString("default"), "ui"); if (ui_path.empty()) { LYXERR(Debug::INIT, "Could not find default UI file!!"); Alert::warning(_("Could not find default UI file"),