BUG: 152149

Fixed bug related to Timezone data in KRFB-sent emails by using KSystemTimeZones::local() and adding the zone name.

svn path=/trunk/KDE/kdenetwork/krfb/; revision=1047949
This commit is contained in:
Harsh Chouraria J
2009-11-12 11:57:11 +00:00
parent e82c2ac46a
commit db400bb3d0

View File

@@ -28,6 +28,7 @@
#include <KConfigDialog>
#include <KMessageBox>
#include <KToolInvocation>
#include <KSystemTimeZone>
// settings dialog
#include "ui_configtcp.h"
@@ -146,12 +147,13 @@ void ManageInvitationsDialog::inviteByMail()
"Otherwise you can use any VNC client with the following parameters:\n\n"
"Host: %2:%3\n"
"Password: %4\n\n"
"For security reasons this invitation will expire at %5.")
"For security reasons this invitation will expire at %5 (%6).")
.subs(invUrl.url())
.subs(host)
.subs(QString::number(port))
.subs(inv.password())
.subs(KGlobal::locale()->formatDateTime(inv.expirationTime()))
.subs(KSystemTimeZones::local().name())
.toString());
}