mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-02 09:29:59 +02:00
Fix some warning and write more modern c++
This commit is contained in:
@@ -32,8 +32,8 @@
|
||||
*/
|
||||
ChangeElementInformationCommand::ChangeElementInformationCommand(
|
||||
Element *elmt,
|
||||
DiagramContext &old_info,
|
||||
DiagramContext &new_info,
|
||||
const DiagramContext &old_info,
|
||||
const DiagramContext &new_info,
|
||||
QUndoCommand *parent) :
|
||||
QUndoCommand (parent)
|
||||
{
|
||||
|
||||
@@ -33,8 +33,8 @@ class ChangeElementInformationCommand : public QUndoCommand
|
||||
public:
|
||||
ChangeElementInformationCommand(
|
||||
Element *elmt,
|
||||
DiagramContext &old_info,
|
||||
DiagramContext &new_info,
|
||||
const DiagramContext &old_info,
|
||||
const DiagramContext &new_info,
|
||||
QUndoCommand *parent = nullptr);
|
||||
|
||||
ChangeElementInformationCommand(QMap<QPointer<Element>, QPair<DiagramContext, DiagramContext>> map,
|
||||
|
||||
Reference in New Issue
Block a user