QWidget and setVisible() problem
Mobile and Embedded
3
Posts
3
Posters
4.8k
Views
1
Watching
-
wrote on 22 Oct 2010, 04:22 last edited by
Hi!
I create a QWidget:
m_widget = new QWidget(parent); where parent is also a QWidget then I set visible of m_widget to false m_widget->setVisible(false);
after that I need to show m_widget m_widget->setVisible(true); and this line of code hangs the application and only in release build on symbian platform
what's wrong? why does this code work in debug build?
Please help. Thanks in advance!
-
wrote on 22 Oct 2010, 06:30 last edited by
There is nothing wrong with the three lines of code you've shown, if you want help to figure out the error you'll need to show more context (for example, you should explain how you know that line of code is the one causing the hang).
-
wrote on 22 Oct 2010, 06:31 last edited by
Maybe it's bug, can you write test application?
1/3