changeset 223:cb8ccbff8f84

* Sensible (i.e. smaller) font size for About box on OS/X
author Chris Cannam
date Thu, 06 Jan 2011 11:48:56 +0000
parents 31bde6405ebd
children 1b2ee42fa004 5d8a5ce96163
files mainwindow.cpp
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mainwindow.cpp	Thu Jan 06 11:09:47 2011 +0000
+++ b/mainwindow.cpp	Thu Jan 06 11:48:56 2011 +0000
@@ -155,6 +155,9 @@
 {
    QMessageBox::about(this, tr("About EasyMercurial"),
                       tr("<qt><h2>About EasyMercurial</h2>"
+#ifdef Q_OS_MAC
+                         "<font size=-1>"
+#endif
                          "<p>EasyMercurial is a simple user interface for the "
                          "Mercurial</a> version control system.</p>"
                          "<h4>Credits and Copyright</h4>"
@@ -181,7 +184,11 @@
                          "modify it under the terms of the GNU General Public License as "
                          "published by the Free Software Foundation; either version 2 of the "
                          "License, or (at your option) any later version.  See the file "
-                         "COPYING included with this distribution for more information.</p>"));
+                         "COPYING included with this distribution for more information.</p>"
+#ifdef Q_OS_MAC
+                         "</font>"
+#endif
+                         ));
 }
 
 void MainWindow::clearSelections()