view common_osx.mm @ 348:076c2b3de51b bug_92

Reject only non-empty directories as clone targets: we're happy if the directory exists but is empty
author Chris Cannam
date Wed, 16 Mar 2011 12:10:56 +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