mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Feature/3139 new features for tips (#3152)
* "Tip of the Day" option added to Help menu * Tip of the Day setting moved * If no new tips are availabe, don't show tip of the day again * list storing try #1 * first unseen tip shown first * lastShownTip removed * fixed next/previous buttons * spaces > tab * "Show this window on startup" is not checked by default
This commit is contained in:
parent
6374d157fc
commit
e1394bd851
8 changed files with 62 additions and 22 deletions
|
|
@ -139,7 +139,7 @@ int main(int argc, char *argv[])
|
|||
qDebug("main(): ui.show() finished");
|
||||
|
||||
DlgTipOfTheDay tip;
|
||||
if (settingsCache->getShowTipsOnStartup() && tip.successfulInit) {
|
||||
if (tip.successfulInit && settingsCache->getShowTipsOnStartup() && tip.newTipsAvailable) {
|
||||
tip.show();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue