view common_osx.mm @ 292:a1c8630a0057

Return success if the external diff/merge _is_ found, not if it isn't!
author Chris Cannam
date Mon, 21 Feb 2011 18:16:15 +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