~ubuntu-branches/ubuntu/precise/pokerth/precise-proposed

« back to all changes in this revision

Viewing changes to src/pokerth.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Evgeni Golov
  • Date: 2009-06-26 00:23:56 UTC
  • mfrom: (1.1.7 upstream) (5.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090626002356-p3nrzdhhqwk5gpf0
Tags: 0.7.1-1
* New upstream release.
* debian/control:
  + Build-Depend on unversioned boost packages again.
    Closes: #531119, #534086
  + Improve pokerth-server description, one does not need the package
    for one-table games.
  + Standards-Version: 3.8.2, no changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
#endif
59
59
 
60
60
//Uncomment this for RELEASE on Linux/Unix/BSD (static Qt only)
61
 
// #include <QtPlugin>
62
 
// Q_IMPORT_PLUGIN(qjpeg)
63
 
// Q_IMPORT_PLUGIN(qgif)
 
61
//#include <QtPlugin>
 
62
//Q_IMPORT_PLUGIN(qjpeg)
 
63
//Q_IMPORT_PLUGIN(qgif)
64
64
 
65
65
#ifdef _WIN32 // Always use static Qt on Windows.
66
66
#include <QtPlugin>
112
112
        a.setStyleSheet("QDialogButtonBox, QMessageBox { dialogbuttonbox-buttons-have-icons: 1; dialog-ok-icon: url(:/gfx/dialog_ok_apply.png); dialog-cancel-icon: url(:/gfx/dialog_close.png); dialog-close-icon: url(:/gfx/dialog_close.png); dialog-yes-icon: url(:/gfx/dialog_ok_apply.png); dialog-no-icon: url(:/gfx/dialog_close.png) }");
113
113
 
114
114
        QPixmap *pixmap = new QPixmap(myAppDataPath + "gfx/gui/misc/welcomepokerth.png");
115
 
        StartSplash splash(*pixmap);
116
 
        splash.show();
117
 
        splash.showMessage(QString("Version %1").arg(POKERTH_BETA_RELEASE_STRING), 0x0042, QColor(153,213,0));
 
115
        StartSplash splash(*pixmap);
 
116
        if(!myConfig->readConfigInt("DisableSplashScreenOnStartup")) {
 
117
                splash.show();
 
118
                splash.showMessage(QString("Version %1").arg(POKERTH_BETA_RELEASE_STRING), 0x0042, QColor(153,213,0));
 
119
        }
118
120
        
119
121
        //Set translations
120
122
        QTranslator qtTranslator;