QFileDialog assert

Maurice Kalinowski mkalinow at trolltech.com
Mon Nov 5 16:52:26 CET 2007


Hi,

we were able to reproduce this issue here and will try to take care of this as soon as possible. 

Thank you for reporting this bug, we will provide you a patch when the fix is done.


Best Regards,

Maurice Kalinowski



  ----- Original Message ----- 
  From: George H. Locktish 
  To: qtce-preview-feedback at trolltech.com 
  Sent: Friday, November 02, 2007 3:30 PM
  Subject: QFileDialog assert


  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/20071105/c833731f/attachment.html 


More information about the Qtce-preview-feedback mailing list