Mercurial > hg > easyhg
annotate common_osx.mm @ 237:c9a7e4ec2f78
* Try to do the right thing when completely reverting a merge (forget that the merge took place)
* When trying to clone from remote repo to existing local dir, offer to create a subdir instead
* Tidy up clone-successful notification
* Add a note to commit and revert confirmation dialogs to tell user if they are committing/reverting only a subset of available files
author | Chris Cannam |
---|---|
date | Mon, 10 Jan 2011 12:44:03 +0000 |
parents | 68aebc316898 |
children |
rev | line source |
---|---|
Chris@62 | 1 |
Chris@62 | 2 #include "common.h" |
Chris@62 | 3 |
Chris@62 | 4 #include <QString> |
Chris@62 | 5 |
Chris@62 | 6 #ifdef Q_OS_MAC |
Chris@62 | 7 |
Chris@62 | 8 #include <Foundation/Foundation.h> |
Chris@62 | 9 |
Chris@62 | 10 QString getUserRealName() |
Chris@62 | 11 { |
Chris@62 | 12 NSString *s = NSFullUserName(); |
Chris@62 | 13 return QString::fromLocal8Bit([s UTF8String]); |
Chris@62 | 14 } |
Chris@62 | 15 |
Chris@62 | 16 #endif |