Mercurial > hg > easyhg
view common_osx.mm @ 239:661f5808aa0a
* Overhaul settings-defaults mechanism, and add Restore Defaults button to settings dialog
author | Chris Cannam |
---|---|
date | Mon, 10 Jan 2011 15:18: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