fix building on w32.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17818 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2008-06-27 23:19:59 +00:00
parent 7a85fc6d65
commit 5c763f4001

View file

@ -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");