mirror of
https://invent.kde.org/network/krfb
synced 2024-07-01 07:24:29 +00:00
Always write the configuration to the dialogs, not only when
the number of invitation changes. This fixes bug 48897, because a side-effect in loadFromKConfig() deletes the list of invitations in the 'manage invitations' dialog. @@ -274,10 +274,9 @@ void Configuration::invalidateOldInvitat void Configuration::refreshTimeout() { unsigned int invNum = invitationList.size(); loadFromKConfig(); - if (invNum != invitationList.size()) { - saveToDialogs(); + saveToDialogs(); + if (invNum != invitationList.size()) emit invitationNumChanged(invitationList.size()); - } } svn path=/trunk/kdenetwork/krfb/; revision=182854
This commit is contained in:
parent
9adbc2e394
commit
90ceb010a2
1
TODO
1
TODO
|
@ -12,6 +12,7 @@ For 3.2:
|
|||
- enhance RFB with SASL authentication (Kerberos)
|
||||
- encrypted connections (using SASL and/or SSL/TLS)
|
||||
- try to solve the non-atomic KConfig changes problem
|
||||
- mention that invitations are one-time on personal invitation dialog
|
||||
|
||||
Todo (unscheduled features):
|
||||
- NAT traversal support if I can find an acceptable implementation
|
||||
|
|
|
@ -274,10 +274,9 @@ void Configuration::invalidateOldInvitations() {
|
|||
void Configuration::refreshTimeout() {
|
||||
unsigned int invNum = invitationList.size();
|
||||
loadFromKConfig();
|
||||
if (invNum != invitationList.size()) {
|
||||
saveToDialogs();
|
||||
saveToDialogs();
|
||||
if (invNum != invitationList.size())
|
||||
emit invitationNumChanged(invitationList.size());
|
||||
}
|
||||
}
|
||||
|
||||
QString Configuration::hostname() const
|
||||
|
|
Loading…
Reference in New Issue
Block a user