Drop spurious const from parameter

Quanifying a parameter passed by value (which is correct for QTime,
there is no need to pass it by reference) as const is pointless.

Change-Id: I86850f65dfac28ffcc4a8633dd6d212259bb33d0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Edward Welbourne 2020-07-30 15:29:34 +02:00
parent 14f3f419b0
commit ba2b644213
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ void QCUPSSupport::clearCupsOptions(QPrinter *printer)
setCupsOptions(printer, QStringList());
}
static inline QString jobHoldToString(const QCUPSSupport::JobHoldUntil jobHold, const QTime holdUntilTime)
static inline QString jobHoldToString(const QCUPSSupport::JobHoldUntil jobHold, QTime holdUntilTime)
{
switch (jobHold) {
case QCUPSSupport::Indefinite: