Mercurial > hg > easyhg
view common_osx.mm @ 62:68aebc316898
* Some adjustments to process running (avoid timer): caller must now report errors
* Function to find user's real name
* Locate hg executable in path explicitly, use a setting to remember it
author | Chris Cannam |
---|---|
date | Wed, 17 Nov 2010 13:32:56 +0000 |
parents | |
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