view common_osx.mm @ 308:7f50c040e13d new-branches-with-status-outside-tabs

With status outside tabs, no need to switch to Work tab when new branch is introduced
author Chris Cannam
date Mon, 28 Feb 2011 14:24:14 +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