summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-06-27 23:19:59 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-06-27 23:19:59 +0000
commit5c763f4001c1634ea62ded26339df52494e6c718 (patch)
tree5fd98c3952929d1b59024680e93fd683a7d90ca3 /rbutil/rbutilqt
parent7a85fc6d657e272a260a786b1350944ebe13648b (diff)
downloadrockbox-5c763f4001c1634ea62ded26339df52494e6c718.tar.gz
rockbox-5c763f4001c1634ea62ded26339df52494e6c718.tar.bz2
rockbox-5c763f4001c1634ea62ded26339df52494e6c718.zip
fix building on w32.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17818 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r--rbutil/rbutilqt/detect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/detect.cpp b/rbutil/rbutilqt/detect.cpp
index 95dee307b2..16ab856ebc 100644
--- a/rbutil/rbutilqt/detect.cpp
+++ b/rbutil/rbutilqt/detect.cpp
@@ -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");