Commit 795180cb authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Do not call a virtual function during construction

parent 79c6cefe
......@@ -119,6 +119,7 @@ Session::Session(QObject* parent) :
//create emulation backend
_emulation = new Vt102Emulation();
_emulation->reset();
connect(_emulation, &Konsole::Emulation::sessionAttributeChanged, this, &Konsole::Session::setSessionAttribute);
connect(_emulation, &Konsole::Emulation::bell, this, [this]() {
......
......@@ -77,7 +77,6 @@ Vt102Emulation::Vt102Emulation() :
&Konsole::Vt102Emulation::updateSessionAttributes);
initTokenizer();
reset();
}
Vt102Emulation::~Vt102Emulation() = default;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment