Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Fix ldaptimeout in dirservconfigpage

Adding time to an invalid time does not make it valid. So
create a valid time to add the timeout to.

GnuPG-Bug-Id: T3487
parent 2edf2b81
......@@ -254,7 +254,7 @@ void DirectoryServicesConfigurationPage::load()
mTimeoutConfigEntry = configEntry(s_timeout_componentName, s_timeout_groupName, s_timeout_entryName, QGpgME::CryptoConfigEntry::ArgType_UInt, false);
if (mTimeoutConfigEntry) {
QTime time = QTime().addSecs(mTimeoutConfigEntry->uintValue());
QTime time = QTime(0, 0, 0, 0).addSecs(mTimeoutConfigEntry->uintValue());
//qCDebug(KLEOPATRA_LOG) <<"timeout:" << mTimeoutConfigEntry->uintValue() <<" ->" << time;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment