get rid of QT3_SUPPORT and some cleanup

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14764 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-08-17 09:00:36 +00:00
parent 778964380e
commit 26c9642c16

View File

@ -128,9 +128,7 @@ QString const qt_(string const & str)
string const fromqstr(QString const & str)
{
//return str;
return str.ascii() ? str.ascii() : "";
return str.isEmpty()? string(): string(str.toAscii());
}