Mercurial > hg > easyhg
view common_osx.mm @ 198:4adbd5c9c15d
* Cut down number of command invocations by gleaning default remote path and current branch from hg files directly
author | Chris Cannam |
---|---|
date | Mon, 03 Jan 2011 14:31:22 +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