mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-21 04:07:46 +00:00
Properly set parent of about qt window
This commit is contained in:
parent
46506f0a43
commit
b095b343fe
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ LauncherWindow::LauncherWindow(LauncherCore& core, QWidget* parent) : QMainWindo
|
||||||
QAction* showAboutQt = helpMenu->addAction("About Qt");
|
QAction* showAboutQt = helpMenu->addAction("About Qt");
|
||||||
showAboutQt->setIcon(QIcon::fromTheme("help-about"));
|
showAboutQt->setIcon(QIcon::fromTheme("help-about"));
|
||||||
connect(showAboutQt, &QAction::triggered, [=] {
|
connect(showAboutQt, &QAction::triggered, [=] {
|
||||||
QApplication::aboutQt();
|
QMessageBox::aboutQt(this);
|
||||||
});
|
});
|
||||||
|
|
||||||
auto layout = new QGridLayout();
|
auto layout = new QGridLayout();
|
||||||
|
|
Loading…
Add table
Reference in a new issue