From 26c9642c169803dabd01d8fecf8ed53abe0c8d45 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 17 Aug 2006 09:00:36 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/qt_helpers.C | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/frontends/qt4/qt_helpers.C b/src/frontends/qt4/qt_helpers.C index 1b019f7a2c..e92bd37955 100644 --- a/src/frontends/qt4/qt_helpers.C +++ b/src/frontends/qt4/qt_helpers.C @@ -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()); }