Mercurial > hg > easyhg
view common_osx.mm @ 262:a7843b03b4cf easyhg_v0.3.1
Merge
author | Chris Cannam |
---|---|
date | Wed, 12 Jan 2011 15:54:08 +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