Fix SASL appearing active when Use SASL unchecked
authorShane Synan <digitalcircuit36939@gmail.com>
Sat, 7 Jan 2017 01:52:01 +0000 (19:52 -0600)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 12 Apr 2017 21:30:25 +0000 (23:30 +0200)
commit1e936d5f780e6fd410f114980057d48477435d83
tree924529205db69d8383bcfde5f95ec3911498e875
parent8265e0f7f750f7ae7a4a8a163b2bd42e8edb4998
Fix SASL appearing active when Use SASL unchecked

Workaround SASL contents getting enabled irrespective of Use SASL
checkbox whenever sslUpdated() determines the identity does not have
an SSL key.

Simplify SASL EXTERNAL UI hide/show logic by adding an invisible
frame inside sasl QGroupBox containing all child widgets.  Only the
frame is enabled and disabled.

Fixes SASL account and password showing up as enabled when Use SASL
was not checked.

Resolves GH-267.
src/qtui/settingspages/networkssettingspage.cpp
src/qtui/settingspages/networkssettingspage.ui