[interactiveterminal] Warn when called in exec: context

FIXES #1157
main
Adriaan de Groot 6 years ago
parent 7f5e61480b
commit b41cac6556

@ -20,6 +20,8 @@
#include "InteractiveTerminalPage.h" #include "InteractiveTerminalPage.h"
#include "utils/Logger.h"
#include <QVariant> #include <QVariant>
CALAMARES_PLUGIN_FACTORY_DEFINITION( InteractiveTerminalViewStepFactory, registerPlugin<InteractiveTerminalViewStep>(); ) CALAMARES_PLUGIN_FACTORY_DEFINITION( InteractiveTerminalViewStepFactory, registerPlugin<InteractiveTerminalViewStep>(); )
@ -84,6 +86,7 @@ InteractiveTerminalViewStep::isAtEnd() const
QList< Calamares::job_ptr > QList< Calamares::job_ptr >
InteractiveTerminalViewStep::jobs() const InteractiveTerminalViewStep::jobs() const
{ {
cDebug() << "InteractiveTerminal" << prettyName() << "asked for jobs(), this is probably wrong.";
return QList< Calamares::job_ptr >(); return QList< Calamares::job_ptr >();
} }
@ -91,6 +94,7 @@ InteractiveTerminalViewStep::jobs() const
void void
InteractiveTerminalViewStep::onActivate() InteractiveTerminalViewStep::onActivate()
{ {
cDebug() << "InteractiveTerminal" << prettyName() << "activated.";
m_widget->onActivate(); m_widget->onActivate();
} }

Loading…
Cancel
Save