comparison 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
comparison
equal deleted inserted replaced
61:bf57a16315bd 62:68aebc316898
1
2 #include "common.h"
3
4 #include <QString>
5
6 #ifdef Q_OS_MAC
7
8 #include <Foundation/Foundation.h>
9
10 QString getUserRealName()
11 {
12 NSString *s = NSFullUserName();
13 return QString::fromLocal8Bit([s UTF8String]);
14 }
15
16 #endif