Skip to content

Commit

Permalink
Per 2075458 Remove deprecated attribute from dispatchNow(), we know i…
Browse files Browse the repository at this point in the history
…t's deprecated but it's not going away any time soon
  • Loading branch information
stuartm committed Mar 4, 2012
1 parent 12bbcf0 commit bf4ff78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions mythtv/libs/libmythbase/mythobservable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ void MythObservable::dispatch(const MythEvent &event)
* almost always unsafe.
*
* \param event a MythEvent to dispatch.
* \deprecated Do not use in new code
*/
void MythObservable::dispatchNow(const MythEvent &event)
{
Expand Down
3 changes: 2 additions & 1 deletion mythtv/libs/libmythbase/mythobservable.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class MBASE_PUBLIC MythObservable
void removeListener(QObject *listener);

void dispatch(const MythEvent &event);
void dispatchNow(const MythEvent &event) MDEPRECATED;

void dispatchNow(const MythEvent &event); // MDEPRECATED;

bool hasListeners(void) { return !m_listeners.isEmpty(); }

Expand Down

0 comments on commit bf4ff78

Please sign in to comment.