[mythtv] [PATCH] Bootstrap mysql.txt in mythcontext
jm at whpress.com
Thu Oct 14 01:33:52 UTC 2004
On 11 Oct 2004, at 3:26 AM, Nigel Pearson wrote:
> On 23/09/2004, at 11:03 AM, Isaac Richards requested:
>> This needs to be rewritten not to use Qt widgets.
> Isaac, I have have not been able to achieve this.
> A MythDialogBox needs a parent MythMainWindow.
> A MythMainWindow seems to need a context.
> Creating a fake context is easy, but then when the MythMainWindow
> tries to RegisterKey()s, it fails because there is no database.
Using latest CVS and Qt/Mac 3.3.3, I don't have this problem. I
created the attached patch (only touches the frontend's main.cpp),
removed all copies of mysql.txt, and the main window appeared without
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1762 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041013/968085f7/frontend_noDB.obj
More information about the mythtv-dev