Create PartialProfileDlg (Partial Profile Dialog) on demand instead of in advance when starting rt (saves another few ms when starting rt). fixes #4151

This commit is contained in:
heckflosse
2017-10-19 20:37:03 +02:00
parent c2c213efac
commit 41cd29d201
2 changed files with 27 additions and 6 deletions

View File

@@ -66,7 +66,7 @@ protected:
ProfileChangeListener* tpc;
bool dontupdate;
sigc::connection changeconn;
static Gtk::Window* parent;
void changeTo (const rtengine::procparams::PartialProfile* newpp, Glib::ustring profname);
public:
@@ -79,7 +79,7 @@ public:
tpc = ppl;
}
static void init (Gtk::Window* parent);
static void init (Gtk::Window* parentWindow);
static void cleanup ();
void storeCurrentValue();
void updateProfileList ();