mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-08 06:42:34 +01:00
Fix compilation warning (clang and gcc)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5301 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -31,8 +31,7 @@
|
||||
|
||||
RotateSelectionCommand::RotateSelectionCommand(Diagram *diagram, qreal angle, QUndoCommand *parent) :
|
||||
QUndoCommand(parent),
|
||||
m_diagram(diagram),
|
||||
m_angle(angle)
|
||||
m_diagram(diagram)
|
||||
{
|
||||
setText(QObject::tr("Pivoter la selection"));
|
||||
|
||||
|
||||
@@ -40,7 +40,6 @@ class RotateSelectionCommand : public QUndoCommand
|
||||
|
||||
private:
|
||||
Diagram *m_diagram =nullptr;
|
||||
qreal m_angle;
|
||||
|
||||
QList<QPointer<ConductorTextItem>> m_cond_text;
|
||||
QHash<ConductorTextItem *, bool> m_rotate_by_user;
|
||||
|
||||
Reference in New Issue
Block a user