Mercurial > minori
comparison src/gui/window.cc @ 82:8b65c417c225
*: fix old stuff, make video players and extensions constants
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Mon, 23 Oct 2023 13:37:42 -0400 |
| parents | 9b2b41f83a5e |
| children | d02fdf1d6708 |
comparison
equal
deleted
inserted
replaced
| 81:9b2b41f83a5e | 82:8b65c417c225 |
|---|---|
| 264 toolbar->addAction(QIcon(":/icons/24x24/gear.png"), tr("S&ettings"), [this] { | 264 toolbar->addAction(QIcon(":/icons/24x24/gear.png"), tr("S&ettings"), [this] { |
| 265 SettingsDialog dialog(this); | 265 SettingsDialog dialog(this); |
| 266 dialog.exec(); | 266 dialog.exec(); |
| 267 }); | 267 }); |
| 268 addToolBar(toolbar); | 268 addToolBar(toolbar); |
| 269 | |
| 270 } | 269 } |
| 271 | 270 |
| 272 void MainWindow::SetActivePage(QWidget* page) { | 271 void MainWindow::SetActivePage(QWidget* page) { |
| 273 this->setCentralWidget(page); | 272 this->setCentralWidget(page); |
| 274 } | 273 } |
