mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Do not show the what's new dialog when there are no libraries
No libraries probably means fresh installation.
This commit is contained in:
parent
b1713fc184
commit
13d0f5fc75
@ -113,9 +113,10 @@ LibraryWindow::LibraryWindow()
|
|||||||
|
|
||||||
void LibraryWindow::afterLaunchTasks()
|
void LibraryWindow::afterLaunchTasks()
|
||||||
{
|
{
|
||||||
WhatsNewController whatsNewController;
|
if (!libraries.isEmpty()) {
|
||||||
|
WhatsNewController whatsNewController;
|
||||||
whatsNewController.showWhatsNewIfNeeded(this);
|
whatsNewController.showWhatsNewIfNeeded(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void LibraryWindow::setupUI()
|
void LibraryWindow::setupUI()
|
||||||
|
Loading…
Reference in New Issue
Block a user