﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
32	QDir::rootDirPath() causes an access violation	froloff	dmik	"Finally I found the bug, which cause QT application trap on my notebook, when using file dialog. It is strange that this mistake doesn't cause trap on desktop PC ;)

Here is the fixed version of QDir::rootDirPath() function:

{{{
QString QDir::rootDirPath()

{
    ULONG bootDrive[1] = {0};

    DosQuerySysInfo( QSV_BOOT_DRIVE, QSV_BOOT_DRIVE, (PVOID)bootDrive, sizeof(bootDrive) );

    QString d = QChar( (char)(bootDrive[0] + 'A' - 1) );

    d += "":/"";

    return d;

}
}}}"	defect	closed	normal	qt-os2-3.3.1-rc07	tools	3.3.1-rc06	normal	fixed	trap access violation	
