1
0
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:
Tim Jansen 2002-10-08 22:16:26 +00:00
parent 9adbc2e394
commit 90ceb010a2
2 changed files with 3 additions and 3 deletions

1
TODO
View File

@ -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

View File

@ -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