Implement new way of handling Desktop Overlay width

This commit is contained in:
Vasily
2019-03-31 22:31:26 +02:00
committed by username223
parent 760d262a57
commit ab901e90fc
7 changed files with 23 additions and 46 deletions
+3
View File
@@ -72,6 +72,9 @@ overlay::DesktopOverlay::DesktopOverlay()
m_rightMovement
= settings.value( strings::rightMovementSettingsName, defaultMovement )
.toDouble();
m_upMovement
= settings.value( strings::upMovementSettingsName, defaultMovement )
.toDouble();
settings.endGroup();
}
+1
View File
@@ -24,6 +24,7 @@ namespace strings
constexpr auto defaultOverlayWidth = 4.0;
constexpr auto defaultMovement = 0.0;
constexpr auto defaultWidth = 1.0;
class DesktopOverlay : public QObject
{