Mercurial > hg > easyhg
view common_osx.mm @ 325:5fa5c908ca00 filelist_right_button_menu
Add right-button menus (not yet functional, but hopefully with the right things in them)
author | Chris Cannam |
---|---|
date | Thu, 10 Mar 2011 21:04:58 +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