Fix monolithic builds

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30793 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-07-26 13:32:32 +00:00
parent 71b60a20b5
commit e8bd4f14a4

View File

@ -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"),