view common_osx.mm @ 347:987a094047c9

Ensure a full log happens on first commit to an empty repo (otherwise we don't get the state updated properly)
author Chris Cannam
date Wed, 16 Mar 2011 10:46:10 +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