Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits
Re: Ticket #10557: MythFrontend crash when starting
 

Index | Next | Previous | View Flat


noreply at mythtv

Apr 7, 2012, 11:12 PM


Views: 199
Permalink
Re: Ticket #10557: MythFrontend crash when starting [In reply to]

#10557: MythFrontend crash when starting
----------------------------------+-----------------------------
Reporter: jyavenard | Owner:
Type: Bug Report - General | Status: new
Priority: major | Milestone: 0.25
Component: MythTV - General | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by jyavenard):

This patch wouldn't compile.

{{{
diff --git a/mythtv/libs/libmythbase/mythcorecontext.cpp
b/mythtv/libs/libmythba
index 93b5a8b..3940a10 100644
--- a/mythtv/libs/libmythbase/mythcorecontext.cpp
+++ b/mythtv/libs/libmythbase/mythcorecontext.cpp
@@ -1286,6 +1286,8 @@ void MythCoreContext::ReInitLocale(void)

const QLocale MythCoreContext::GetQLocale(void) const
{
+ if (!d->m_locale)
+ return QLocale();
return d->m_locale->ToQLocale();
}
}}}

This one fixes the problem.. InitLocale needs the database to be
configured and up and running as it retrieves the configured locale from
the database. However, the issue at hand is when trying to display the
screen for setting up the locale and the database. So we can't use
InitLocale yet.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10557#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits

Subject User Time
Ticket #10557: MythFrontend crash when starting noreply at mythtv Apr 7, 2012, 4:07 PM
    Re: Ticket #10557: MythFrontend crash when starting noreply at mythtv Apr 7, 2012, 5:33 PM
    Re: Ticket #10557: MythFrontend crash when starting noreply at mythtv Apr 7, 2012, 6:01 PM
    Re: Ticket #10557: MythFrontend crash when starting noreply at mythtv Apr 7, 2012, 11:12 PM
    Re: Ticket #10557: MythFrontend crash when starting noreply at mythtv Apr 8, 2012, 1:59 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.