readerthread.cpp
changeset 4 fdf04a93faeb
parent 0 826dd5531eb0
equal deleted inserted replaced
3:724e07a9f155 4:fdf04a93faeb
    30                     dce = new DataChangeEvent (s.c_str ());
    30                     dce = new DataChangeEvent (s.c_str ());
    31                     QApplication::postEvent ((QObject *) handle, (QEvent *) dce);
    31                     QApplication::postEvent ((QObject *) handle, (QEvent *) dce);
    32                 }
    32                 }
    33             }
    33             }
    34         }
    34         }
    35     }
    35     } catch (std::exception const &e) {
    36     catch (std::exception const &e) {
       
    37         dce = new DataChangeEvent (e.what ());
    36         dce = new DataChangeEvent (e.what ());
    38         QApplication::postEvent ((QObject *) handle, (QEvent *) dce);
    37         QApplication::postEvent ((QObject *) handle, (QEvent *) dce);
    39         std::cerr << e.what () << std::endl;
    38         std::cerr << e.what () << std::endl;
    40     }
    39     }
    41 }
    40 }