view common_osx.mm @ 228:b286f26561c9

* Restore a change that got lost in the merge. I think I need to review the external merge tool mechanism here
author Chris Cannam
date Thu, 06 Jan 2011 12:22:56 +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