History

Tidying

David Rowe committed 9 years ago

Commit e85bc501 parent 44f36a98 files · +47 −32Browse files

Showing the changes to interface/src/Application.cpp (1 of 8 files). Show all

Unified · Split

interface/src/Application.cpp+3−3
@@ -1200,11 +1200,11 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 1199 unmodified lines
12001200 // Keyboard focus handling for Web overlays.
12011201 auto overlays = &(qApp->getOverlays());
12021202
1203− connect(overlays, &Overlays::mousePressOnOverlay, [=](const int overlayID, const PointerEvent& event) {
1203+ connect(overlays, &Overlays::mousePressOnOverlay, [=](unsigned int overlayID, const PointerEvent& event) {
12041204 setKeyboardFocusOverlay(overlayID);
12051205 });
12061206
1207− connect(overlays, &Overlays::overlayDeleted, [=](const int overlayID) {
1207+ connect(overlays, &Overlays::overlayDeleted, [=](unsigned int overlayID) {
12081208 if (overlayID == _keyboardFocusedOverlay.get()) {
12091209 setKeyboardFocusOverlay(UNKNOWN_OVERLAY_ID);
12101210 }
@@ -3974,7 +3974,7 @@ void Application::setKeyboardFocusEntity(EntityItemID entityItemID) { · 2763 unmodified lines
39743974 }
39753975 }
39763976
3977−void Application::setKeyboardFocusOverlay(int overlayID) {
3977+void Application::setKeyboardFocusOverlay(unsigned int overlayID) {
39783978 if (overlayID != _keyboardFocusedOverlay.get()) {
39793979 _keyboardFocusedOverlay.set(overlayID);
39803980