Implement new way of handling Desktop Overlay width
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user