comparison 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
comparison
equal deleted inserted replaced
222:31bde6405ebd 223:cb8ccbff8f84
153 153
154 void MainWindow::about() 154 void MainWindow::about()
155 { 155 {
156 QMessageBox::about(this, tr("About EasyMercurial"), 156 QMessageBox::about(this, tr("About EasyMercurial"),
157 tr("<qt><h2>About EasyMercurial</h2>" 157 tr("<qt><h2>About EasyMercurial</h2>"
158 #ifdef Q_OS_MAC
159 "<font size=-1>"
160 #endif
158 "<p>EasyMercurial is a simple user interface for the " 161 "<p>EasyMercurial is a simple user interface for the "
159 "Mercurial</a> version control system.</p>" 162 "Mercurial</a> version control system.</p>"
160 "<h4>Credits and Copyright</h4>" 163 "<h4>Credits and Copyright</h4>"
161 "<p>Development carried out by Chris Cannam for " 164 "<p>Development carried out by Chris Cannam for "
162 "SoundSoftware.ac.uk at the Centre for Digital Music, " 165 "SoundSoftware.ac.uk at the Centre for Digital Music, "
179 "<h4>License</h4>" 182 "<h4>License</h4>"
180 "<p>This program is free software; you can redistribute it and/or " 183 "<p>This program is free software; you can redistribute it and/or "
181 "modify it under the terms of the GNU General Public License as " 184 "modify it under the terms of the GNU General Public License as "
182 "published by the Free Software Foundation; either version 2 of the " 185 "published by the Free Software Foundation; either version 2 of the "
183 "License, or (at your option) any later version. See the file " 186 "License, or (at your option) any later version. See the file "
184 "COPYING included with this distribution for more information.</p>")); 187 "COPYING included with this distribution for more information.</p>"
188 #ifdef Q_OS_MAC
189 "</font>"
190 #endif
191 ));
185 } 192 }
186 193
187 void MainWindow::clearSelections() 194 void MainWindow::clearSelections()
188 { 195 {
189 hgTabs->clearSelections(); 196 hgTabs->clearSelections();