Mercurial > hg > easyhg
comparison mainwindow.cpp @ 186:6c15700f4103
* Open local folder in Finder/Explorer/whatever when its path is clicked on
| author | Chris Cannam |
|---|---|
| date | Mon, 20 Dec 2010 14:37:35 +0000 |
| parents | 1220f26d6f35 |
| children | 6bb510abe4f1 |
comparison
equal
deleted
inserted
replaced
| 185:ec2baee80833 | 186:6c15700f4103 |
|---|---|
| 133 void MainWindow::about() | 133 void MainWindow::about() |
| 134 { | 134 { |
| 135 QMessageBox::about(this, tr("About EasyMercurial"), | 135 QMessageBox::about(this, tr("About EasyMercurial"), |
| 136 tr("<qt><h2>About EasyMercurial</h2>" | 136 tr("<qt><h2>About EasyMercurial</h2>" |
| 137 "<p>EasyMercurial is a simple user interface for the " | 137 "<p>EasyMercurial is a simple user interface for the " |
| 138 "Mercurial version control system.</p>" | 138 "Mercurial</a> version control system.</p>" |
| 139 "<p>EasyMercurial is based on hgExplorer by " | 139 "<h4>Credits and Copyright</h4>" |
| 140 "Jari Korhonen, with thanks.<br>EasyMercurial development carried out by " | 140 "<p>Development carried out by Chris Cannam for " |
| 141 "Chris Cannam for soundsoftware.ac.uk at the Centre for Digital Music, Queen Mary, University of London." | 141 "SoundSoftware.ac.uk at the Centre for Digital Music, " |
| 142 "<ul><li>Copyright © 2010 Jari Korhonen</li>" | 142 "Queen Mary, University of London.</p>" |
| 143 "<li>Copyright © 2010 Chris Cannam</li>" | 143 "<p>EasyMercurial is based on HgExplorer by " |
| 144 "<li>Copyright © 2010 Queen Mary, University of London</li>" | 144 "Jari Korhonen, with thanks.</p>" |
| 145 "</ul>" | 145 "<p style=\"margin-left: 2em;\">" |
| 146 "<p> This program is free software; you can redistribute it and/or " | 146 "Copyright © 2010 Queen Mary, University of London.<br>" |
| 147 "Copyright © 2010 Jari Korhonen.<br>" | |
| 148 "Copyright © 2010 Chris Cannam." | |
| 149 "</p>" | |
| 150 "<p style=\"margin-left: 2em;\">" | |
| 151 "This program requires Mercurial, by Matt Mackall and others.<br>" | |
| 152 "This program uses Qt by Nokia.<br>" | |
| 153 "This program uses Nuvola icons by David Vignoni.<br>" | |
| 154 "This program may use KDiff3 by Joachim Eibl.<br>" | |
| 155 "This program may use PyQt by River Bank Computing.<br>" | |
| 156 "Packaging for Mercurial and other dependencies on Windows is derived from TortoiseHg by Steve Borho and others." | |
| 157 "</p>" | |
| 158 "<h4>License</h4>" | |
| 159 "<p>This program is free software; you can redistribute it and/or " | |
| 147 "modify it under the terms of the GNU General Public License as " | 160 "modify it under the terms of the GNU General Public License as " |
| 148 "published by the Free Software Foundation; either version 2 of the " | 161 "published by the Free Software Foundation; either version 2 of the " |
| 149 "License, or (at your option) any later version. See the file " | 162 "License, or (at your option) any later version. See the file " |
| 150 "COPYING included with this distribution for more information.")); | 163 "COPYING included with this distribution for more information.</p>")); |
| 151 } | 164 } |
| 152 | 165 |
| 153 void MainWindow::clearSelections() | 166 void MainWindow::clearSelections() |
| 154 { | 167 { |
| 155 hgTabs->clearSelections(); | 168 hgTabs->clearSelections(); |
| 941 | 954 |
| 942 if (d->exec() == QDialog::Accepted) { | 955 if (d->exec() == QDialog::Accepted) { |
| 943 QSettings s(hgrc.canonicalFilePath(), QSettings::IniFormat); | 956 QSettings s(hgrc.canonicalFilePath(), QSettings::IniFormat); |
| 944 s.beginGroup("paths"); | 957 s.beginGroup("paths"); |
| 945 s.setValue("default", d->getArgument()); | 958 s.setValue("default", d->getArgument()); |
| 959 stateUnknown = true; | |
| 946 hgQueryPaths(); | 960 hgQueryPaths(); |
| 947 } | 961 } |
| 948 | 962 |
| 949 delete d; | 963 delete d; |
| 950 } | 964 } |
