styles repaired on mac-plattform
This commit is contained in:
@@ -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
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user