mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Format
This commit is contained in:
parent
04140bef0b
commit
a2b4b88801
@ -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("...");
|
||||
}
|
||||
|
@ -51,8 +51,9 @@ WorkerThread<Result>::~WorkerThread()
|
||||
abort = true;
|
||||
}
|
||||
condition.notify_one();
|
||||
if (thread.joinable())
|
||||
if (thread.joinable()) {
|
||||
thread.join();
|
||||
}
|
||||
}
|
||||
|
||||
template<typename Result>
|
||||
|
Loading…
x
Reference in New Issue
Block a user