QFileDialog assert
George H. Locktish
ghlocktish at praxiseng.com
Fri Nov 2 15:30:14 CET 2007
I am trying to use QFileDialog to allow the user to select a file, but
each time I run the following code I am getting an assert.
The assert statement is:
ASSERT: "v" in file c:\qt\4.3.2-tp1\src\gui\util\qcompleter_p.h, line 93
The code that I am running is:
QString selectedFilter;
QString fileName = QFileDialog::getOpenFileName(this,
"Select A File"),
"\\",
"All Files (*)",
&selectedFilter,
QFileDialog::DontUseNativeDialog);
During the execution of the application, I open the file dialog and
double click on the top level folder "Temp." That is when I get the
assert statement.
Is there something different I should be doing to avoid getting the
assert?
Thank you,
George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.trolltech.com/pipermail/qtce-preview-feedback/attachments/20071102/9dd1d4f6/attachment.html
More information about the Qtce-preview-feedback
mailing list