view common_osx.mm @ 327:f166f70c64f9 filelist_right_button_menu

Make Add/Remove active only when Work tab is selected (again!) -- because they are the only selection-modal toolbar buttons now
author Chris Cannam
date Fri, 11 Mar 2011 17:42:12 +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