[Qt-interest] qtmutex locked - application waits??

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Tue May 25 06:18:32 CEST 2010


>
> The QComboBox which is used to control an image display widget (changes the
> image in the display depending on the combo box item selected). See code
> below-
>
> connect(ui.comboBox, SIGNAL(activated(int)), this,
> SLOT(setComboBoxIndex(int)));
>
> void ImageViewer::setComboBoxIndex(int index)
> {
>     comboBoxIndex = index;
>     populateScene();//function to display image QGrahicsView widget
> }

Hard to say from this snippet alone. Are you acquiring any locks in
populateScene()?
Can you post the code of this fxn?

Regards,
-mandeep

>
> Does anybody know why this is happening?
>
> Thanks,
> Caius
>
>
>
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>




More information about the Qt-interest-old mailing list