Skip to content

Commit

Permalink
Give some QObjects names as a debugging aid.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Nov 20, 2012
1 parent 0fced3e commit 987c420
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/libs/libmythbase/mythsystem.cpp
Expand Up @@ -48,12 +48,14 @@ void MythSystem::initializePrivate(void)

MythSystem::MythSystem()
{
setObjectName("MythSystem()");
m_semReady.release(1); // initialize
initializePrivate();
}

MythSystem::MythSystem(const QString &command, uint flags)
{
setObjectName(QString("MythSystem(%1)").arg(command));
m_semReady.release(1); // initialize
initializePrivate();
SetCommand(command, flags);
Expand Down
1 change: 1 addition & 0 deletions mythtv/libs/libmythtv/mythsystemevent.cpp
Expand Up @@ -76,6 +76,7 @@ class SystemEventThread : public QRunnable
*/
MythSystemEventHandler::MythSystemEventHandler(void)
{
setObjectName("MythSystemEventHandler");
gCoreContext->addListener(this);
}

Expand Down

0 comments on commit 987c420

Please sign in to comment.