qt 4.5.1 startwindow font-lenght fixes. localized cash value bugfix

This commit is contained in:
doitux
2009-05-24 13:30:10 +00:00
parent 97246d347e
commit 492939cccf
5 changed files with 27 additions and 28 deletions
+4 -2
View File
@@ -3,8 +3,10 @@
MyMenuBar::MyMenuBar(QMainWindow* parent)
: QMenuBar(parent)
{
this->setAttribute(Qt::WA_TranslucentBackground);
this->setStyleSheet("QMenuBar { border-width: 0px; border-style: none;} ");
#if (QT_VERSION >= 0x040501)
this->setAttribute(Qt::WA_TranslucentBackground);
this->setStyleSheet("QMenuBar { border-width: 0px; border-style: none;} ");
#endif
}
void MyMenuBar::paintEvent(QPaintEvent *e) {