view common_osx.mm @ 356:368b96a87c43 feature_102

Add warning message when pushing with uncommitted changes. Fixes #102
author Chris Cannam
date Thu, 17 Mar 2011 13:44:44 +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