~jonas-drange/indicator-network/allow-auth-none

« back to all changes in this revision

Viewing changes to src/indicator/menu-builder.cpp

  • Committer: CI Train Bot
  • Author(s): Pete Woods
  • Date: 2015-08-18 08:46:24 UTC
  • mfrom: (510.2.11 15.10)
  • Revision ID: ci-train-bot@canonical.com-20150818084624-yfffysvvuknssok6
Enable Wifi when activating hotspot

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
    {
88
88
        m_hotspotSwitch->setEnabled(
89
89
            !m_manager->unstoppableOperationHappening()
90
 
            && !m_manager->flightMode()
91
 
            && m_manager->wifiEnabled());
 
90
            && !m_manager->flightMode());
92
91
    }
93
92
};
94
93