Ticket #5424: mytmainwindow.diff

File mytmainwindow.diff, 843 bytes (added by arnonm@…, 17 years ago)

Commenting out Win32 specific lines solves the problem

  • mythmainwindow.cpp

     
    586586    flags |= WResizeNoErase;
    587587#endif
    588588
     589#if defined(USE_OPENGL_PAINTER) && defined(_WIN32)
     590    if (!d->does_fill_screen) {
     591        flags |= WStyle_Title | WStyle_SysMenu | WStyle_Minimize;
     592    }
     593    //QGLWidget::reparent is not implemented in QT3/Win32
     594    setCaption("MythTV Frontend");
     595    //clearWFlags(getWFlags());
     596    //setWFlags(flags);
     597    //clearWState(WState_Created);
     598    //create(winId(), true, false);
     599    //clearWState(WState_Visible);
     600    //move(d->xbase, d->ybase);
     601#else
    589602    reparent(parentWidget(), flags, pos());
     603#endif
    590604
    591605    /* FIXME these two lines should go away */
    592606    setFont(gContext->GetMediumFont());