Gui: Single arg ctors must be explicit (PR #7369)

This commit is contained in:
berniev
2022-08-15 12:24:41 +10:00
committed by wmayer
parent c429473a4a
commit 3877fc62c3
122 changed files with 237 additions and 237 deletions

View File

@@ -137,7 +137,7 @@ namespace Gui {
public:
const Gui::Document& d;
DocumentIndex(const Gui::Document& d) : d(d)
explicit DocumentIndex(const Gui::Document& d) : d(d)
{
if (!documentIcon)
documentIcon = new QIcon(Gui::BitmapFactory().pixmap("Document"));