diff mainwindow.cpp @ 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 90e70a9024f3
children 5d8a5ce96163
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()