Set transient parent for missing-* dialogs at start

This commit is contained in:
Robin Gareus 2021-07-07 00:33:50 +02:00
parent 95bf443735
commit 005bd4f76f
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
9 changed files with 15 additions and 13 deletions

View file

@ -31,8 +31,8 @@ using namespace std;
using namespace ARDOUR;
using namespace PBD;
MissingPluginDialog::MissingPluginDialog (Session* s, list<string> const & plugins, bool cache_valid)
: ArdourDialog (_("Missing Plugins"), true, false)
MissingPluginDialog::MissingPluginDialog (Gtk::Window& parent, Session* s, list<string> const & plugins, bool cache_valid)
: ArdourDialog (parent, _("Missing Plugins"), true, false)
{
/* This dialog is always shown programatically. Center the window.*/
set_position (Gtk::WIN_POS_CENTER);