Skip to content

Commit

Permalink
Remove noop lines
Browse files Browse the repository at this point in the history
  • Loading branch information
lesleyjanenorton committed Sep 8, 2024
1 parent 8d5b6f2 commit aea59c7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/webextensionadapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,6 @@ QJsonObject WebExtensionAdapter::serializeStatus() {

{
Controller::State state = vpn->controller()->state();
if (state == Controller::StateOnPartial) {
state =
Controller::StateOnPartial; // Old extensions like MAC dont know and
// dont need to know about this state.
}
const QMetaObject* meta = qt_getEnumMetaObject(state);
int index = meta->indexOfEnumerator(qt_getEnumName(state));
obj["vpn"] = meta->enumerator(index).valueToKey(state);
Expand Down

0 comments on commit aea59c7

Please sign in to comment.