Skip to content

Commit

Permalink
Merge pull request #581 from julee/bugfix2
Browse files Browse the repository at this point in the history
fix: initialize splitViewWidgetState to prevent uninitialized use in ViewStateHandler::savePlaylist
  • Loading branch information
ChristianFeldmann committed Jul 23, 2024
2 parents 4b03932 + eb90c6d commit 5f76e52
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions YUViewLib/src/ui/ViewStateHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ public slots:
class splitViewWidgetState
{
public:
QPointF centerOffset;
double zoomFactor;
bool splitting;
double splittingPoint;
int viewMode;
QPointF centerOffset{};
double zoomFactor{};
bool splitting{};
double splittingPoint{};
int viewMode{};
};
splitViewWidgetState viewStates[8];

Expand Down

0 comments on commit 5f76e52

Please sign in to comment.