A few cleanups missed in the previous commits.

This commit is contained in:
Stephen Anthony 2019-12-29 21:08:50 -03:30
parent 733db7250a
commit 767f952e4e
3 changed files with 4 additions and 11 deletions

View File

@ -22,11 +22,7 @@ SimpleResampler::SimpleResampler(
Resampler::Format formatFrom, Resampler::Format formatFrom,
Resampler::Format formatTo, Resampler::Format formatTo,
const Resampler::NextFragmentCallback& nextFragmentCallback) const Resampler::NextFragmentCallback& nextFragmentCallback)
: Resampler(formatFrom, formatTo, nextFragmentCallback), : Resampler(formatFrom, formatTo, nextFragmentCallback)
myCurrentFragment(nullptr),
myTimeIndex(0),
myFragmentIndex(0),
myIsUnderrun(true)
{ {
} }

View File

@ -41,11 +41,7 @@ InputTextDialog::InputTextDialog(GuiObject* boss, const GUI::Font& lfont,
const GUI::Font& nfont, const GUI::Font& nfont,
const StringList& labels, const string& title) const StringList& labels, const string& title)
: Dialog(boss->instance(), boss->parent(), lfont, title), : Dialog(boss->instance(), boss->parent(), lfont, title),
CommandSender(boss), CommandSender(boss)
myEnableCenter(false),
myErrorFlag(false),
myXOrig(0),
myYOrig(0)
{ {
initialize(lfont, nfont, labels); initialize(lfont, nfont, labels);
} }

View File

@ -32,7 +32,8 @@ class InputTextDialog : public Dialog, public CommandSender
InputTextDialog(GuiObject* boss, const GUI::Font& font, InputTextDialog(GuiObject* boss, const GUI::Font& font,
const StringList& labels, const string& title = ""); const StringList& labels, const string& title = "");
InputTextDialog(GuiObject* boss, const GUI::Font& lfont, InputTextDialog(GuiObject* boss, const GUI::Font& lfont,
const GUI::Font& nfont, const StringList& labels, const string& title = ""); const GUI::Font& nfont, const StringList& labels,
const string& title = "");
virtual ~InputTextDialog() = default; virtual ~InputTextDialog() = default;
/** Place the input dialog onscreen and center it */ /** Place the input dialog onscreen and center it */