From d833ed185a3f917a8c42f343effd573311b610e0 Mon Sep 17 00:00:00 2001 From: csoler Date: Tue, 17 Jan 2023 22:37:32 +0100 Subject: [PATCH] added comments --- retroshare-gui/src/gui/advsearch/expressionwidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/retroshare-gui/src/gui/advsearch/expressionwidget.cpp b/retroshare-gui/src/gui/advsearch/expressionwidget.cpp index c5cbd7964..f6b150065 100644 --- a/retroshare-gui/src/gui/advsearch/expressionwidget.cpp +++ b/retroshare-gui/src/gui/advsearch/expressionwidget.cpp @@ -153,9 +153,9 @@ RsRegularExpression::Expression* ExpressionWidget::getRsExpression() switch(exprCondElem->getRelOperator()) // we need to convert expressions so that the delta is 1 day (i.e. 86400 secs) { // The conditions below account for 3 things: - // - the swap between variables in rsexpr.cc - // - the swap of variables when calling getRelOperator() - // - the fact that the "...or Equal" for days adds 86400 seconds. + // - the swap between variables in rsexpr.h:214 + // - the swap of variables when calling getRelOperator() (See guiexprelement.cpp:166) + // - the fact that some comparisions in the unit of days may add 86400 seconds. default: case RsRegularExpression::Equals: