UI: Add about dialog
This commit is contained in:
parent
85d259e05c
commit
36b0ef5b7e
13 changed files with 455 additions and 7 deletions
|
|
@ -2119,6 +2119,9 @@ OBSBasic::~OBSBasic()
|
|||
if (advAudioWindow)
|
||||
delete advAudioWindow;
|
||||
|
||||
if (about)
|
||||
delete about;
|
||||
|
||||
obs_display_remove_draw_callback(ui->preview->GetDisplay(),
|
||||
OBSBasic::RenderMain, this);
|
||||
|
||||
|
|
@ -6690,6 +6693,17 @@ void OBSBasic::on_stats_triggered()
|
|||
stats = statsDlg;
|
||||
}
|
||||
|
||||
void OBSBasic::on_actionShowAbout_triggered()
|
||||
{
|
||||
if (about)
|
||||
about->close();
|
||||
|
||||
about = new OBSAbout(this);
|
||||
about->show();
|
||||
|
||||
about->setAttribute(Qt::WA_DeleteOnClose, true);
|
||||
}
|
||||
|
||||
ColorSelect::ColorSelect(QWidget *parent)
|
||||
: QWidget(parent),
|
||||
ui(new Ui::ColorSelect)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue