Skip to content
Browse files

Fix infinite recursion crash when editing Playback Groups

[df769dc] caused a regression where TimeStretch::Save(QString) would call
TimeStretch::Save() which would call SimpleDBStorage::Save() which then calls
TimeStretch::Save(QString) causing an infinite loop.

This just makes sure we call the correct Save() method in
TimeStretch::Save(QString) to break the loop. Fixes #11492.
  • Loading branch information
Paul Harrison
Paul Harrison committed Apr 18, 2013
1 parent 1b0cd69 commit cbd78b87b4bf5f355925e9c943b9b3a3dfb7bcaf
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythtv/playgroup.cpp
@@ -137,7 +137,7 @@ class TimeStretch : public SpinBoxSetting, public PlayGroupDBStorage

virtual void Save(QString /*destination*/) { Save(); }
virtual void Save(QString destination) { PlayGroupDBStorage::Save(destination); }

PlayGroupConfig::PlayGroupConfig(QString _name) : name(_name)

0 comments on commit cbd78b8

Please sign in to comment.
You can’t perform that action at this time.