diff --git a/src/app/puzzle/puzzlemainwindow.cpp b/src/app/puzzle/puzzlemainwindow.cpp index b76bcb9b0..df72ac4f4 100644 --- a/src/app/puzzle/puzzlemainwindow.cpp +++ b/src/app/puzzle/puzzlemainwindow.cpp @@ -796,8 +796,6 @@ void PuzzleMainWindow::on_checkBoxLayoutStickyEdges_toggled(bool checked) // TODO update the QGraphicView } - - //--------------------------------------------------------------------------------------------------------------------- void PuzzleMainWindow::on_pushButtonLayoutExport_clicked() { @@ -883,14 +881,15 @@ void PuzzleMainWindow::on_PieceSelectionChanged() //--------------------------------------------------------------------------------------------------------------------- void PuzzleMainWindow::on_PiecePositionChanged() { - if(m_selectedPieces.count() == 1) { VPuzzlePiece *piece = m_selectedPieces.first(); QPointF pos = piece->GetPosition(); - SetDoubleSpinBoxValue(ui->doubleSpinBoxCurrentPieceBoxPositionX, UnitConvertor(pos.x(), Unit::Px, m_layout->GetUnit())); - SetDoubleSpinBoxValue(ui->doubleSpinBoxCurrentPieceBoxPositionY, UnitConvertor(pos.y(), Unit::Px, m_layout->GetUnit())); + SetDoubleSpinBoxValue(ui->doubleSpinBoxCurrentPieceBoxPositionX, + UnitConvertor(pos.x(), Unit::Px, m_layout->GetUnit())); + SetDoubleSpinBoxValue(ui->doubleSpinBoxCurrentPieceBoxPositionY, + UnitConvertor(pos.y(), Unit::Px, m_layout->GetUnit())); } } diff --git a/src/app/tape/mapplication.h b/src/app/tape/mapplication.h index 839780026..d1d4a6d27 100644 --- a/src/app/tape/mapplication.h +++ b/src/app/tape/mapplication.h @@ -101,8 +101,8 @@ private: void Clean(); }; -//--------------------------------------------------------------------------------------------------------------------- +//--------------------------------------------------------------------------------------------------------------------- inline const VTranslateVars *MApplication::TrVars() { return trVars; diff --git a/src/app/valentina/core/vapplication.cpp b/src/app/valentina/core/vapplication.cpp index 6d0cf88bc..bea11612d 100644 --- a/src/app/valentina/core/vapplication.cpp +++ b/src/app/valentina/core/vapplication.cpp @@ -445,6 +445,7 @@ bool VApplication::notify(QObject *receiver, QEvent *event) return false; } +//--------------------------------------------------------------------------------------------------------------------- void VApplication::ActivateDarkMode() { VValentinaSettings *settings = qApp->ValentinaSettings(); @@ -465,7 +466,6 @@ void VApplication::ActivateDarkMode() } } - //--------------------------------------------------------------------------------------------------------------------- QString VApplication::TapeFilePath() const {