Fix android build

This commit is contained in:
Matthias Kuhn 2016-02-16 14:54:49 +01:00
parent 4a27e3037e
commit 427e5e9ffd

View File

@ -787,6 +787,8 @@ QString QgsApplication::userFullName()
//fall back to login name
if ( sUserFullName.isEmpty() )
sUserFullName = userLoginName();
#elif defined(Q_OS_ANDROID)
sUserFullName = "Not available";
#else
struct passwd *p = getpwuid( getuid() );