two small missing bits for rev18468

* src/frontends/qt4(QDocument.spp:
*src/frontends/qt4QInclude.spp:
	- add missing toqstr conversion.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18469 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-05-23 04:09:09 +00:00
parent b78c1db290
commit 43215a323f
2 changed files with 2 additions and 2 deletions

View File

@ -625,7 +625,7 @@ void QDocumentDialog::validate_listings_params()
} catch (invalidParam & e) {
isOK = false;
// listingsTB->setTextColor("red");
textLayoutModule->listingsTB->setPlainText(e.what());
textLayoutModule->listingsTB->setPlainText(toqstr(e.what()));
okPB->setEnabled(false);
applyPB->setEnabled(false);
}

View File

@ -97,7 +97,7 @@ void QIncludeDialog::validate_listings_params()
}
} catch (invalidParam & e) {
isOK = false;
listingsTB->setPlainText(e.what());
listingsTB->setPlainText(toqstr(e.what()));
okPB->setEnabled(false);
}
}