Refactoring. Removing redundant code.
--HG-- branch : develop
This commit is contained in:
parent
f027d92a4c
commit
180332d279
|
@ -106,11 +106,7 @@ void DialogPiecePath::ChosenObject(quint32 id, const SceneObject &type)
|
|||
{
|
||||
if (not prepare)
|
||||
{
|
||||
bool reverse = false;
|
||||
if (QGuiApplication::keyboardModifiers() == Qt::ShiftModifier)
|
||||
{
|
||||
reverse = true;
|
||||
}
|
||||
const bool reverse = QGuiApplication::keyboardModifiers() == Qt::ShiftModifier;
|
||||
if (id != GetLastId())
|
||||
{
|
||||
switch (type)
|
||||
|
|
Loading…
Reference in New Issue
Block a user