Mercurial > hg > easyhg
view common_osx.mm @ 78:07405f3a428b
* Use fork/setsid/fork to escape our controlling terminal, to ensure the pty we create is used for password requests
author | Chris Cannam |
---|---|
date | Mon, 22 Nov 2010 10:03:15 +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