view common_osx.mm @ 295:01a471e9cbe3

Small fix to clone successful dialog wording
author Chris Cannam
date Mon, 21 Feb 2011 19:22:29 +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