Switch to unified view

a/src/qtgui/idxthread.cpp b/src/qtgui/idxthread.cpp
...
...
49
}
49
}
50
50
51
void stop_idxthread()
51
void stop_idxthread()
52
{
52
{
53
    stopidxthread = 1;
53
    stopidxthread = 1;
54
    while (idxthread.running())
54
    idxthread.wait();
55
  sleep(1);
56
}
55
}
56
57