summaryrefslogtreecommitdiffstats
path: root/tests/auto/qapplication
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@sosco.com>2009-09-22 12:57:54 (GMT)
committerShane Kearns <shane.kearns@sosco.com>2009-09-22 14:32:16 (GMT)
commitb85f6a46650774e2422ab44f1f12751ada8d9373 (patch)
tree1a655f629f41ab3628c106e4d8a63c8f1b2f2491 /tests/auto/qapplication
parent7a603159dbf5c1f931cfc257aab0239abaa1d4a1 (diff)
downloadQt-b85f6a46650774e2422ab44f1f12751ada8d9373.zip
Qt-b85f6a46650774e2422ab44f1f12751ada8d9373.tar.gz
Qt-b85f6a46650774e2422ab44f1f12751ada8d9373.tar.bz2
Fix "... may return wrong private dir if application is on Z:, not C:"
QT-805 QCoreApplication::applicationDirPath() may return wrong private dir if application is on Z:, not C: Remove the emulator ifdef, instead RFs::Drive is used to get the drive attributes (to see if it is ROM / read only) RFs::SystemDrive is used to get the system drive, which is C: on S60 phones, but in theory configurable. It is not needed to call Open() on RProcess to call functions on the current process - this eliminates some code. Elimated some unneeded code to check for Z: before creating prvate path (now, the if statement would always have evaluated the same) Task-number: QT-805 Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'tests/auto/qapplication')
0 files changed, 0 insertions, 0 deletions