view common_osx.mm @ 117:d5db15bf250c

* Start to sketch thing that shows the details of a changeset in the history view
author Chris Cannam
date Fri, 26 Nov 2010 22:46: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