Skip to content

Commit fb9de61

Browse files
committed
Ouch
1 parent 8615c23 commit fb9de61

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Editor/common_features/graphicsworkspace.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,10 +292,10 @@ void GraphicsWorkspace::wheelEvent(QWheelEvent *event)
292292
{
293293
int modS = 128;
294294
// int modS_h = modS;
295-
bool rtl = (qApp->layoutDirection() == Qt::RightToLeft);
295+
// bool rtl = (qApp->layoutDirection() == Qt::RightToLeft);
296296

297-
if(rtl)
298-
modS_h *= -1;
297+
// if(rtl)
298+
// modS_h *= -1;
299299

300300
if((event->modifiers() & Qt::ShiftModifier) != 0)
301301
{

Engine/scenes/level/player/lvl_player_warps_and_teleports.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ void LVL_Player::WarpTo(double x, double y, int warpType, int warpDirection, boo
342342
else
343343
{
344344
EventQueueEntry<LVL_Player >playSnd;
345-
playSnd.makeCaller([]()->void
345+
playSnd.makeCaller([this]()->void
346346
{
347347
PGE_Audio::playSoundByRole(obj_sound_role::WarpPipe);
348348
}, 0);

0 commit comments

Comments
 (0)