view common_osx.mm @ 339:8b244f3b3111

Change open repo dialog button ordering from remote-local-file to local-file-remote, because file is the most usual first-user choice (put local at left instead of right so as to make it second most obvious)
author Chris Cannam
date Tue, 15 Mar 2011 11:45:53 +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