refs #313 Change GUI classes to use new hotkey settings wrapper classes

This commit is contained in:
Roland Winklmeier
2014-08-19 14:38:24 +02:00
parent 4d60ca3a87
commit f76e0bc957
11 changed files with 50 additions and 48 deletions

View File

@@ -527,17 +527,17 @@ void MainWindow::ps_registerHotkeyFunctions()
m_inputManager->registerHotkeyFunc(CHotkeyFunction::Opacity50(), this, [ this ](bool isPressed)
{
if (isPressed) this->changeWindowOpacity(50);
if (isPressed) this->ps_changeWindowOpacity(50);
});
m_inputManager->registerHotkeyFunc(CHotkeyFunction::Opacity100(), this, [ this ](bool isPressed)
{
if (isPressed) this->changeWindowOpacity(100);
if (isPressed) this->ps_changeWindowOpacity(100);
});
m_inputManager->registerHotkeyFunc(CHotkeyFunction::ToogleWindowsStayOnTop(), this, [ this ](bool isPressed)
{
if (isPressed) this->toogleWindowStayOnTop();
if (isPressed) this->ps_toogleWindowStayOnTop();
});
}