rosenth
23rd May 2010, 05:49
I made a loop :
QHashIterator<QString, QString> i(customers);
while (i.hasNext())
{
QString dir=(i.value().left(1)=="-")?"1":"0";
...
but runtime error is on i.value():
The inferior stopped because it received a signal from
the operating system.
signal name: SIGABRT
signal meaning: Aborted
whats problem?
QHashIterator<QString, QString> i(customers);
while (i.hasNext())
{
QString dir=(i.value().left(1)=="-")?"1":"0";
...
but runtime error is on i.value():
The inferior stopped because it received a signal from
the operating system.
signal name: SIGABRT
signal meaning: Aborted
whats problem?