Mercurial > hg > easyhg
view common_osx.mm @ 154:6bcb4a4d6521
* Try to reduce unnecessary history updates; add --new-branch option on push
author | Chris Cannam |
---|---|
date | Thu, 02 Dec 2010 18:04:21 +0000 |
parents | 68aebc316898 |
children |
line wrap: on
line source
#include "common.h" #include <QString> #ifdef Q_OS_MAC #include <Foundation/Foundation.h> QString getUserRealName() { NSString *s = NSFullUserName(); return QString::fromLocal8Bit([s UTF8String]); } #endif