view common_osx.mm @ 123:3afa1ce339ec

* Another fix to incremental log -- ensure children are not duplicated in changeset
author Chris Cannam
date Mon, 29 Nov 2010 11:18:27 +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