Gui: convert indentations to spaces

This commit is contained in:
luzpaz
2023-01-23 13:52:19 +00:00
committed by Uwe
parent 62974cd4d5
commit 50a0fd6777
11 changed files with 816 additions and 816 deletions

View File

@@ -107,7 +107,7 @@ bool Gui::GUIApplicationNativeEventAware::processSpaceballEvent(QObject *object,
void Gui::GUIApplicationNativeEventAware::postMotionEvent(std::vector<int> motionDataArray)
{
auto currentWidget(focusWidget());
auto currentWidget(focusWidget());
if (!currentWidget) {
return;
}
@@ -121,7 +121,7 @@ void Gui::GUIApplicationNativeEventAware::postMotionEvent(std::vector<int> motio
void Gui::GUIApplicationNativeEventAware::postButtonEvent(int buttonNumber, int buttonPress)
{
auto currentWidget(focusWidget());
auto currentWidget(focusWidget());
if (!currentWidget) {
return;
}
@@ -130,11 +130,11 @@ void Gui::GUIApplicationNativeEventAware::postButtonEvent(int buttonNumber, int
buttonEvent->setButtonNumber(buttonNumber);
if (buttonPress)
{
buttonEvent->setButtonStatus(Spaceball::BUTTON_PRESSED);
buttonEvent->setButtonStatus(Spaceball::BUTTON_PRESSED);
}
else
{
buttonEvent->setButtonStatus(Spaceball::BUTTON_RELEASED);
buttonEvent->setButtonStatus(Spaceball::BUTTON_RELEASED);
}
this->postEvent(currentWidget, buttonEvent);
}