Skip to content

Commit

Permalink
Fix android build
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Feb 16, 2016
1 parent 4a27e30 commit 427e5e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgsapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() );

Expand Down

0 comments on commit 427e5e9

Please sign in to comment.