| 96 | } |
| 97 | |
| 98 | void SettingsWidget::showLayoutDialog(){ |
| 99 | LayoutDialog dialog(this); |
| 100 | dialog.exec(); |
| 101 | // Set selected layout |
| 102 | ui->layoutBox->setCurrentIndex((int)dialog.selected()); |
| 103 | on_layoutBox_activated((int)dialog.selected()); // Call activated() signal manually to trigger save |
| 104 | } |
| 105 | |
| 106 | void SettingsWidget::pollUpdates(){ |
| 107 | extra->pollUpdates(); |