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

« back to all changes in this revision

Viewing changes to src/gui/qt/gametable/mymenubar.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:
3
3
MyMenuBar::MyMenuBar(QMainWindow* parent)
4
4
 : QMenuBar(parent)
5
5
{
6
 
         //this->setAttribute(Qt::WA_TranslucentBackground);
 
6
#if (QT_VERSION >= 0x040501)
 
7
        this->setAttribute(Qt::WA_TranslucentBackground);
 
8
        this->setStyleSheet("QMenuBar { border-width: 0px; border-style: none;} ");             
 
9
#endif          
7
10
}
8
11
 
9
12
void MyMenuBar::paintEvent(QPaintEvent *e) {