styles repaired on mac-plattform

This commit is contained in:
eflist
2007-06-25 00:25:52 +00:00
parent 7347745c8d
commit 67efc40495
3 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent)
{ {
int i; int i;
this->setStyle(new QPlastiqueStyle); // this->setStyle(new QPlastiqueStyle);
//for statistic development //for statistic development
for(i=0; i<15; i++) { for(i=0; i<15; i++) {
+3 -4
View File
@@ -75,11 +75,10 @@ int main( int argc, char **argv )
/////// can be removed for non-qt-guis //////////// /////// can be removed for non-qt-guis ////////////
QApplication a( argc, argv ); QApplication a( argc, argv );
#ifdef __APPLE__
a.setStyle(new QMacStyle); // set PlastiqueStyle even for mac-version to prevent artefacts on styled widgets
#else
a.setStyle(new QPlastiqueStyle); a.setStyle(new QPlastiqueStyle);
#endif
Q_INIT_RESOURCE(resources); Q_INIT_RESOURCE(resources);
QTranslator qtTranslator; QTranslator qtTranslator;