fix building on w32.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17818 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7a85fc6d65
commit
5c763f4001
1 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@
|
|||
* @return enum userlevel.
|
||||
*/
|
||||
#if defined(Q_OS_WIN32)
|
||||
enum userlevel Detect::userPermissions(void)
|
||||
enum Detect::userlevel Detect::userPermissions(void)
|
||||
{
|
||||
LPUSER_INFO_1 buf;
|
||||
NET_API_STATUS napistatus;
|
||||
|
@ -104,7 +104,7 @@ enum userlevel Detect::userPermissions(void)
|
|||
QString Detect::userPermissionsString(void)
|
||||
{
|
||||
QString result;
|
||||
int perm = getUserPermissions();
|
||||
int perm = userPermissions();
|
||||
switch(perm) {
|
||||
case GUEST:
|
||||
result = QObject::tr("Guest");
|
||||
|
|
Loading…
Reference in a new issue