File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 55#import " util-osx.h"
66#elif defined(Q_WS_WIN)
77#include < windows.h>
8- #elif defined(Q_WS_X11)
8+ #elif USING_X11
99#include " mythxdisplay.h"
1010#elif USING_DIRECTFB
1111#include < linux/fb.h>
@@ -15,7 +15,7 @@ extern "C" {
1515}
1616#endif
1717
18- #if !defined(Q_WS_X11)
18+ #if !USING_X11
1919#include < QApplication>
2020#include < QDesktopWidget>
2121#endif
@@ -101,7 +101,7 @@ DisplayInfo MythDisplay::GetDisplayInfo(int video_rate)
101101 else
102102 ret.rate = fix_rate (video_rate);
103103
104- #elif defined (Q_WS_X11)
104+ #elif USING_X11
105105 MythXDisplay *disp = OpenMythXDisplay ();
106106 if (!disp)
107107 return ret;
@@ -166,7 +166,7 @@ int MythDisplay::GetNumberXineramaScreens(void)
166166{
167167 int nr_xinerama_screens = 0 ;
168168
169- #if defined(Q_WS_X11)
169+ #if USING_X11
170170 // TODO Qt is Xinerama aware so this should be unnecessary
171171 MythXDisplay *d = OpenMythXDisplay ();
172172 if (d)
You can’t perform that action at this time.
0 commit comments