Mercurial > hg > easyhg
view common_osx.mm @ 321:dff8ec43c86d
* We should have a 64-bit Python module now: no longer force to 32
author | Chris Cannam |
---|---|
date | Wed, 02 Mar 2011 16:28:03 +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