Don't set parent of "About Qt" dialog
to prevent stylesheet inheritance
This commit is contained in:
parent
1155ab0036
commit
ec9d2c58ee
|
@ -8,6 +8,7 @@
|
|||
#include <QApplication>
|
||||
#include <QDesktopWidget>
|
||||
#include <QGraphicsPixmapItem>
|
||||
#include <QMessageBox>
|
||||
#include <QStringBuilder>
|
||||
#include <QStyle>
|
||||
|
||||
|
@ -121,7 +122,7 @@ AboutDialog::~AboutDialog()
|
|||
void AboutDialog::linkActivated(const QString &link)
|
||||
{
|
||||
if (link == QLatin1String("qtversion")) {
|
||||
QApplication::aboutQt();
|
||||
QMessageBox::aboutQt(nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue