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)
|
if (not prepare)
|
||||||
{
|
{
|
||||||
bool reverse = false;
|
const bool reverse = QGuiApplication::keyboardModifiers() == Qt::ShiftModifier;
|
||||||
if (QGuiApplication::keyboardModifiers() == Qt::ShiftModifier)
|
|
||||||
{
|
|
||||||
reverse = true;
|
|
||||||
}
|
|
||||||
if (id != GetLastId())
|
if (id != GetLastId())
|
||||||
{
|
{
|
||||||
switch (type)
|
switch (type)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user