Skip to content

Commit

Permalink
And some more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
brizental committed Jan 30, 2023
1 parent f425b36 commit 04387a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/apps/vpn/addons/addon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,8 @@ bool Addon::evaluateConditions(const QJsonObject& conditions) {
}

void Addon::enable() {
logger.debug() << "Addon enabled" << m_id;

m_enabled = true;

QCoreApplication::installTranslator(&m_translator);
Expand All @@ -531,6 +533,8 @@ void Addon::enable() {
}

void Addon::disable() {
logger.debug() << "Addon disabled" << m_id;

m_enabled = false;

QCoreApplication::removeTranslator(&m_translator);
Expand Down

0 comments on commit 04387a9

Please sign in to comment.