Gui: modernize C++: use default member init

This commit is contained in:
wmayer
2023-08-23 16:29:19 +02:00
committed by wwmayer
parent 1cf1a90a17
commit 6beace8da6
79 changed files with 220 additions and 325 deletions

View File

@@ -1681,10 +1681,6 @@ class StdCmdExpression : public Gui::Command
{
public:
StdCmdExpression() : Command("Std_Expressions")
, pcActionCopyAll(nullptr)
, pcActionCopySel(nullptr)
, pcActionCopyActive(nullptr)
, pcActionPaste(nullptr)
{
sGroup = "Edit";
sMenuText = QT_TR_NOOP("Expression actions");
@@ -1887,10 +1883,10 @@ protected:
return true;
}
QAction *pcActionCopyAll;
QAction *pcActionCopySel;
QAction *pcActionCopyActive;
QAction *pcActionPaste;
QAction *pcActionCopyAll{nullptr};
QAction *pcActionCopySel{nullptr};
QAction *pcActionCopyActive{nullptr};
QAction *pcActionPaste{nullptr};
};
namespace Gui {