[SOLVED] qcombobox and clear()
-
Glad that you found the problem, but I would really like to advice you to learn some basic debugging skills. Problems of finding why an application crashes are something every developer will have to diagnose, sooner or later. Getting and reading & understanding a backtrace is a basic tool to fix those.
-
@fcrochik said in [SOLVED] qcombobox and clear():
I would venture a guess that the error is not on these lines of code.
Most likely is something that you doing somewhere else while processing signals that get triggered by adding/removing items. For example you may have code to process when the selected item changes on the combo - clearing the combo and adding new items will probably trigger that.
Yes you are right. I also facing the same problem.
-
This post is deleted!