Mercurial > hg > easyhg
view common_osx.mm @ 108:8ae3b44c0073
* Enable/disable update and merge actions depending on whether default update and merge will actually do anything
author | Chris Cannam |
---|---|
date | Thu, 25 Nov 2010 21:08:17 +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