summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:21:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 20:01:20 +0900
commit18c573e806f0dcf0a7fcde805aaa528ef11ebc88 (patch)
tree625f81c4a08d4d9b4a2b041b261f919afd59828a /tdeio
parent9d6823ebc6f4f68e1cd83f42b0548716048cfcfe (diff)
downloadtdelibs-18c573e806f0dcf0a7fcde805aaa528ef11ebc88.tar.gz
tdelibs-18c573e806f0dcf0a7fcde805aaa528ef11ebc88.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c0b74ba868682f39c41a9f70ae11297425b711e1)
Diffstat (limited to 'tdeio')
-rw-r--r--tdeio/misc/kssld/kssld.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeio/misc/kssld/kssld.cpp b/tdeio/misc/kssld/kssld.cpp
index a376ebfac..f40a9183a 100644
--- a/tdeio/misc/kssld/kssld.cpp
+++ b/tdeio/misc/kssld/kssld.cpp
@@ -287,7 +287,7 @@ KSSLCNode *node;
if ( !node->permanent ) {
node->expires = TQDateTime::currentDateTime();
// FIXME: make this configurable
- node->expires = TQT_TQDATETIME_OBJECT(node->expires.addSecs(5));
+ node->expires = node->expires.addSecs(5);
} else {
node->expires = node->cert->getQDTNotAfter(); // set to certs expiry date
}
@@ -310,7 +310,7 @@ KSSLCNode *node;
if (!permanent) {
n->expires = TQDateTime::currentDateTime();
- n->expires = TQT_TQDATETIME_OBJECT(n->expires.addSecs(5));
+ n->expires = n->expires.addSecs(5);
} else {
if ( !n->expires.isValid() )
n->expires = n->cert->getQDTNotAfter(); // set to certs expiry date