Ticket #9477: 30-mythdisplay.diff

File 30-mythdisplay.diff, 495 bytes (added by Lawrence Rust <lvr@…>, 7 years ago)
  • mythtv/libs/libmythui/mythdisplay.cpp

    diff --git a/mythtv/libs/libmythui/mythdisplay.cpp b/mythtv/libs/libmythui/mythdisplay.cpp
    index 5bef072..f6cc2cc 100644
    a b DisplayInfo MythDisplay::GetDisplayInfo(int video_rate) 
    101101    else
    102102        ret.rate = fix_rate(video_rate);
    103103
    104 #elif defined (Q_WS_X11)
     104#elif defined (Q_WS_X11) && defined USING_X11
    105105    MythXDisplay *disp = OpenMythXDisplay();
    106106    if (!disp)
    107107        return ret;