view src/common_osx.mm @ 395:a09d5ffe165c item_appearance_adjustments

Make colour selection for branches and authors more headache-inducing^W^Wcheerful
author Chris Cannam
date Tue, 24 May 2011 17:59:18 +0100
parents 2d3f1e5d8638
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