Added notification if a new release or beta release of PokerTH is available.

Removed last traces of deprecated blind values.
This commit is contained in:
lotodore
2007-10-12 13:07:04 +00:00
parent 2c67f848ea
commit 96d1f34f5c
12 changed files with 48 additions and 9 deletions
+13 -1
View File
@@ -3583,6 +3583,18 @@ void mainWindowImpl::networkNotification(int notificationId)
tr("Invalid password when joining the game.\nPlease reenter the password and try again."),
QMessageBox::Close); }
break;
case NTF_NET_NEW_RELEASE_AVAILABLE:
// TODO use dialog with link to pokerth.net
{ QMessageBox::information(this, tr("Network Notification"),
tr("A new release of PokerTH is available. Please go to http://www.pokerth.net/ and download the latest version."),
QMessageBox::Close); }
break;
case NTF_NET_OUTDATED_BETA:
// TODO use dialog with link to pokerth.net
{ QMessageBox::information(this, tr("Network Notification"),
tr("This beta release of PokerTH is outdated. Please go to http://www.pokerth.net/ and download the latest version."),
QMessageBox::Close); }
break;
}
}
@@ -3781,7 +3793,7 @@ void mainWindowImpl::mouseOverFlipCards(bool front) {
}
}
void mainWindowImpl::closeEvent(QCloseEvent */*event*/) { quitPokerTH(); }
void mainWindowImpl::closeEvent(QCloseEvent * /*event*/) { quitPokerTH(); }
void mainWindowImpl::quitPokerTH() {