Ticket #2464: patch.diff

File patch.diff, 570 bytes (added by Mark.Buechler@…, 15 years ago)

The patch..

  • XvMCSurfaceTypes.cpp

    old new QString XvMCSurfaceTypes::toString(Displ 
    304304    if (size())
    305305        os<<endl;
    306306
    307     return QString(os.str());
     307    return QString(os.str().c_str());
    308308}
    309309
    310310QString XvMCSurfaceTypes::XvMCDescription(Display *pdisp)
    QString XvMCSurfaceTypes::XvMCDescriptio 
    376376        XCloseDisplay(disp);
    377377    X11U;
    378378
    379     return QString(os.str());
     379    return QString(os.str().c_str());
    380380}
    381381
    382382#endif // USING_XVMC