diff --git a/YACReader/viewer.cpp b/YACReader/viewer.cpp index bbabc04c..dbd93abf 100644 --- a/YACReader/viewer.cpp +++ b/YACReader/viewer.cpp @@ -205,8 +205,9 @@ void Viewer::prepareForOpening() verticalScrollBar()->setSliderPosition(verticalScrollBar()->minimum()); - if (Configuration::getConfiguration().getShowInformation() && !information) + if (Configuration::getConfiguration().getShowInformation() && !information) { QTimer::singleShot(0, this, &Viewer::informationSwitch); + } informationLabel->setText("..."); } diff --git a/common/worker_thread.h b/common/worker_thread.h index eaad8047..dc1db19a 100644 --- a/common/worker_thread.h +++ b/common/worker_thread.h @@ -51,8 +51,9 @@ WorkerThread::~WorkerThread() abort = true; } condition.notify_one(); - if (thread.joinable()) + if (thread.joinable()) { thread.join(); + } } template