Remove unused modal LatencyGUI Dialog

This commit is contained in:
Robin Gareus 2019-09-29 18:23:18 +02:00
parent 70c523e0e8
commit c5b6b232a6
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 0 additions and 21 deletions

View file

@ -163,14 +163,3 @@ LatencyGUI::change_latency_from_button (int dir)
adjustment.set_value (adjustment.get_value() - shift); adjustment.set_value (adjustment.get_value() - shift);
} }
} }
LatencyDialog::LatencyDialog (const std::string& title, Latent& l, samplepos_t sr, samplepos_t psz)
: ArdourDialog (title, false, true),
lwidget (l, sr, psz)
{
get_vbox()->pack_start (lwidget);
add_button (Stock::CLOSE, RESPONSE_CLOSE);
show_all ();
run ();
}

View file

@ -92,14 +92,4 @@ private:
static std::vector<std::string> unit_strings; static std::vector<std::string> unit_strings;
}; };
class LatencyDialog : public ArdourDialog
{
public:
LatencyDialog (const std::string& title, ARDOUR::Latent&, samplepos_t sample_rate, samplepos_t period_size);
~LatencyDialog() {}
private:
LatencyGUI lwidget;
};
#endif /* __gtk2_ardour_latency_gui_h__ */ #endif /* __gtk2_ardour_latency_gui_h__ */