summaryrefslogtreecommitdiffstats
path: root/tests/auto/qfileinfo
diff options
context:
space:
mode:
authorPrasanth Ullattil <prasanth.ullattil@nokia.com>2010-12-07 10:07:39 (GMT)
committerPrasanth Ullattil <prasanth.ullattil@nokia.com>2010-12-07 10:15:48 (GMT)
commit84fa2a82ea90ad2c554b54bd08db1f41d85484ea (patch)
tree667c0478a637d5d3ee066e11dfa44b42c358ecfb /tests/auto/qfileinfo
parent37fdb437084a7a4acefefbe1d55adee4e7723b7a (diff)
downloadQt-84fa2a82ea90ad2c554b54bd08db1f41d85484ea.zip
Qt-84fa2a82ea90ad2c554b54bd08db1f41d85484ea.tar.gz
Qt-84fa2a82ea90ad2c554b54bd08db1f41d85484ea.tar.bz2
Fix compile error in tst_qfileinfo on Mac/Linux
Reviewed-by: Shane Kearns
Diffstat (limited to 'tests/auto/qfileinfo')
-rw-r--r--tests/auto/qfileinfo/tst_qfileinfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qfileinfo/tst_qfileinfo.cpp b/tests/auto/qfileinfo/tst_qfileinfo.cpp
index 70ed842..2e1ab39 100644
--- a/tests/auto/qfileinfo/tst_qfileinfo.cpp
+++ b/tests/auto/qfileinfo/tst_qfileinfo.cpp
@@ -1648,6 +1648,7 @@ void tst_QFileInfo::detachingOperations()
}
#if !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN)
+#if defined (Q_OS_WIN)
BOOL IsUserAdmin()
{
BOOL b;
@@ -1668,6 +1669,7 @@ BOOL IsUserAdmin()
return(b);
}
+#endif
void tst_QFileInfo::owner()
{