From 27402a15596c525858c188f7b75b8257318e092b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Tue, 10 Nov 2009 14:45:02 +0000 Subject: [PATCH] * GuiAbout.cpp: - unmask e-mail addresses in the credits pane. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31935 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiAbout.cpp | 9 +++++++-- status.16x | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiAbout.cpp b/src/frontends/qt4/GuiAbout.cpp index c21cb10777..c4db66e12a 100644 --- a/src/frontends/qt4/GuiAbout.cpp +++ b/src/frontends/qt4/GuiAbout.cpp @@ -58,9 +58,14 @@ static QString credits() line = ts.readLine(); if (line.startsWith("@b")) out << "" << line.mid(2) << ""; - else if (line.startsWith("@i")) + else if (line.startsWith("@i")) { + if (line.startsWith("@iE-mail")) { + // unmask email + line.replace(QString(" () "), QString("@")); + line.replace(QString(" ! "), QString(".")); + } out << "" << line.mid(2) << ""; - else + } else out << line; out << "
"; } while (!line.isNull()); diff --git a/status.16x b/status.16x index 30a0bfb0c6..88da5f7928 100644 --- a/status.16x +++ b/status.16x @@ -278,6 +278,8 @@ What's new - Fix double blinking cursors in Graphics/Nomenclature dialogs (bug 3852). +- Fix display of e-mail addresses in the About LyX dialog. + * DOCUMENTATION AND LOCALIZATION