mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 16:44:48 -07:00
Tips close with the main window (#3305)
* tips close with main window * null verification added
This commit is contained in:
parent
2354a6f89d
commit
87eb132af1
3 changed files with 19 additions and 9 deletions
|
|
@ -22,7 +22,6 @@
|
|||
#include "QtNetwork/QNetworkInterface"
|
||||
#include "carddatabase.h"
|
||||
#include "dlg_settings.h"
|
||||
#include "dlg_tip_of_the_day.h"
|
||||
#include "featureset.h"
|
||||
#include "logger.h"
|
||||
#include "pixmapgenerator.h"
|
||||
|
|
@ -142,11 +141,6 @@ int main(int argc, char *argv[])
|
|||
ui.show();
|
||||
qDebug("main(): ui.show() finished");
|
||||
|
||||
DlgTipOfTheDay tip;
|
||||
if (tip.successfulInit && settingsCache->getShowTipsOnStartup() && tip.newTipsAvailable) {
|
||||
tip.show();
|
||||
}
|
||||
|
||||
app.setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
app.exec();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue