# HG changeset patch # User František Kučera # Date 1538223240 -7200 # Node ID dad72beb3ebeba4f285aaa7fb1c07b013b814df2 # Parent b6f790137bb8bc40f9cf422f0474a5a52d83a424 rename background thread to RelationalReaderThread diff -r b6f790137bb8 -r dad72beb3ebe src/relpipe-out-chart.cpp --- a/src/relpipe-out-chart.cpp Sat Sep 29 13:26:33 2018 +0200 +++ b/src/relpipe-out-chart.cpp Sat Sep 29 14:14:00 2018 +0200 @@ -15,14 +15,14 @@ using namespace relpipe::cli; using namespace relpipe::reader; -class WorkerThread : public QThread { +class RelationalReaderThread : public QThread { private: std::shared_ptr reader; public: // TODO: better background thread; lambda? - WorkerThread(std::shared_ptr reader) : + RelationalReaderThread(std::shared_ptr reader) : reader(reader) { setTerminationEnabled(true); } @@ -60,7 +60,7 @@ reader->addHandler(&handler); // Start background thread - WorkerThread t(reader); + RelationalReaderThread t(reader); t.start(); // ---