styles repaired on mac-plattform
This commit is contained in:
@@ -61,7 +61,7 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent)
|
||||
{
|
||||
int i;
|
||||
|
||||
this->setStyle(new QPlastiqueStyle);
|
||||
// this->setStyle(new QPlastiqueStyle);
|
||||
|
||||
//for statistic development
|
||||
for(i=0; i<15; i++) {
|
||||
|
||||
@@ -29,7 +29,7 @@ settingsDialogImpl::settingsDialogImpl(QWidget *parent, ConfigFile *c, selectAva
|
||||
: QDialog(parent), myConfig(c), mySelectAvatarDialogImpl(s)
|
||||
{
|
||||
|
||||
setupUi(this);
|
||||
setupUi(this);
|
||||
|
||||
if (myConfig->readConfigInt("CLA_NoWriteAccess")) { groupBox_logOnOff->setDisabled(TRUE); }
|
||||
|
||||
|
||||
+3
-4
@@ -75,11 +75,10 @@ int main( int argc, char **argv )
|
||||
|
||||
/////// can be removed for non-qt-guis ////////////
|
||||
QApplication a( argc, argv );
|
||||
#ifdef __APPLE__
|
||||
a.setStyle(new QMacStyle);
|
||||
#else
|
||||
|
||||
// set PlastiqueStyle even for mac-version to prevent artefacts on styled widgets
|
||||
a.setStyle(new QPlastiqueStyle);
|
||||
#endif
|
||||
|
||||
Q_INIT_RESOURCE(resources);
|
||||
|
||||
QTranslator qtTranslator;
|
||||
|
||||
Reference in New Issue
Block a user