add Application::aboutQt to about dialog
This commit is contained in:
parent
b9c537f40b
commit
affe89e774
|
|
@ -52,6 +52,7 @@
|
|||
#include <QDialogButtonBox>
|
||||
#include <QPushButton>
|
||||
#include <QGroupBox>
|
||||
#include <QApplication>
|
||||
#include "gtkutil/spinbox.h"
|
||||
#include "gtkutil/guisettings.h"
|
||||
#include <QPlainTextEdit>
|
||||
|
|
@ -371,6 +372,10 @@ void DoAbout(){
|
|||
QObject::connect( button, &QPushButton::clicked, [](){ OpenURL( StringOutputStream( 256 )( AppPath_get(), "changelog.txt" ) ); } );
|
||||
button->setEnabled( false );
|
||||
}
|
||||
{
|
||||
auto button = buttons->addButton( "About Qt", QDialogButtonBox::ButtonRole::NoRole );
|
||||
QObject::connect( button, &QPushButton::clicked, &QApplication::aboutQt );
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user