mirror of
https://github.com/KDE/krfb
synced 2026-07-01 07:41:17 -07: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:
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
|
||||
|
||||
Reference in New Issue
Block a user