From 54c4fc7b36fea598d3b35ff9d00c451eefcaf710 Mon Sep 17 00:00:00 2001 From: Karol Kosek Date: Wed, 30 Dec 2020 16:01:26 +0100 Subject: const-reference large types --- src/dialogs/certificateselectiondialog.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dialogs/certificateselectiondialog.hpp') diff --git a/src/dialogs/certificateselectiondialog.hpp b/src/dialogs/certificateselectiondialog.hpp index e628f5c..117e991 100644 --- a/src/dialogs/certificateselectiondialog.hpp +++ b/src/dialogs/certificateselectiondialog.hpp @@ -41,7 +41,7 @@ private slots: private: //! Creates an anonymous identity with a randomly chosen name that //! will time out on `timeout`, then accepts the dialog. - void acceptTemporaryWithTimeout(QDateTime timeout); + void acceptTemporaryWithTimeout(const QDateTime &timeout); void on_currentChanged(const QModelIndex ¤t, const QModelIndex &previous); -- cgit v1.2.3