Mercurial > hg > easyhg
view common_osx.mm @ 181:731aef59d5f4
* Settings dialog: This Will Do For Now
author | Chris Cannam |
---|---|
date | Fri, 17 Dec 2010 09:36:39 +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