QTfrontend/pageoptions.cpp
changeset 5257 0bbdd47522b9
parent 5252 ded882439548
child 5441 39962b855540
equal deleted inserted replaced
5256:e3fada9358b0 5257:0bbdd47522b9
   242             BtnAssociateFiles = new QPushButton(groupMisc);
   242             BtnAssociateFiles = new QPushButton(groupMisc);
   243             BtnAssociateFiles->setText(QPushButton::tr("Associate file extensions"));
   243             BtnAssociateFiles->setText(QPushButton::tr("Associate file extensions"));
   244             BtnAssociateFiles->setEnabled(!custom_data && !custom_config);
   244             BtnAssociateFiles->setEnabled(!custom_data && !custom_config);
   245             MiscLayout->addWidget(BtnAssociateFiles, 5, 0, 1, 2);
   245             MiscLayout->addWidget(BtnAssociateFiles, 5, 0, 1, 2);
   246 
   246 
   247 #ifdef __APPLE__ && SPARKLE_ENABLED
   247 #ifdef __APPLE__
       
   248 #ifdef SPARKLE_ENABLED
   248             CBAutoUpdate = new QCheckBox(groupMisc);
   249             CBAutoUpdate = new QCheckBox(groupMisc);
   249             CBAutoUpdate->setText(QCheckBox::tr("Check for updates at startup"));
   250             CBAutoUpdate->setText(QCheckBox::tr("Check for updates at startup"));
   250             MiscLayout->addWidget(CBAutoUpdate, 6, 0, 1, 3);
   251             MiscLayout->addWidget(CBAutoUpdate, 6, 0, 1, 3);
       
   252 #endif
   251 #endif
   253 #endif
   252             gbTBLayout->addWidget(groupMisc, 2, 0);
   254             gbTBLayout->addWidget(groupMisc, 2, 0);
   253         }
   255         }
   254 
   256 
   255         {
   257         {