237 |
237 |
238 CBNameWithDate = new QCheckBox(groupMisc); |
238 CBNameWithDate = new QCheckBox(groupMisc); |
239 CBNameWithDate->setText(QCheckBox::tr("Append date and time to record file name")); |
239 CBNameWithDate->setText(QCheckBox::tr("Append date and time to record file name")); |
240 MiscLayout->addWidget(CBNameWithDate, 4, 0, 1, 2); |
240 MiscLayout->addWidget(CBNameWithDate, 4, 0, 1, 2); |
241 |
241 |
242 #ifdef SPARKLE_ENABLED |
|
243 CBAutoUpdate = new QCheckBox(groupMisc); |
|
244 CBAutoUpdate->setText(QCheckBox::tr("Check for updates at startup")); |
|
245 MiscLayout->addWidget(CBAutoUpdate, 5, 0, 1, 2); |
|
246 #endif |
|
247 #ifndef __APPLE__ |
|
248 BtnAssociateFiles = new QPushButton(groupMisc); |
242 BtnAssociateFiles = new QPushButton(groupMisc); |
249 BtnAssociateFiles->setText(QPushButton::tr("Associate file extensions")); |
243 BtnAssociateFiles->setText(QPushButton::tr("Associate file extensions")); |
250 BtnAssociateFiles->setEnabled(!custom_data && !custom_config); |
244 BtnAssociateFiles->setEnabled(!custom_data && !custom_config); |
251 MiscLayout->addWidget(BtnAssociateFiles, 5, 0, 1, 2); |
245 MiscLayout->addWidget(BtnAssociateFiles, 5, 0, 1, 2); |
|
246 |
|
247 #ifdef __APPLE__ |
|
248 #ifdef SPARKLE_ENABLED |
|
249 CBAutoUpdate = new QCheckBox(groupMisc); |
|
250 CBAutoUpdate->setText(QCheckBox::tr("Check for updates at startup")); |
|
251 MiscLayout->addWidget(CBAutoUpdate, 6, 0, 1, 3); |
|
252 #endif |
252 #endif |
253 #endif |
253 gbTBLayout->addWidget(groupMisc, 2, 0); |
254 gbTBLayout->addWidget(groupMisc, 2, 0); |
254 } |
255 } |
255 |
256 |
256 { |
257 { |