Loading isis/src/base/objs/Gui/Gui.cpp +5 −1 Original line number Diff line number Diff line Loading @@ -56,7 +56,8 @@ namespace Isis { // needs changing... #ifdef Q_OS_LINUX if (!XOpenDisplay(NULL)) { Display *xDisplay = XOpenDisplay(NULL); if (!xDisplay) { std::cerr << "cannot connect to X server...\n\n" "Do you have an X server running?\n\n" "If yes then...\n\n" Loading @@ -68,6 +69,9 @@ namespace Isis { abort(); } else { XCloseDisplay(xDisplay); } #endif } Loading Loading
isis/src/base/objs/Gui/Gui.cpp +5 −1 Original line number Diff line number Diff line Loading @@ -56,7 +56,8 @@ namespace Isis { // needs changing... #ifdef Q_OS_LINUX if (!XOpenDisplay(NULL)) { Display *xDisplay = XOpenDisplay(NULL); if (!xDisplay) { std::cerr << "cannot connect to X server...\n\n" "Do you have an X server running?\n\n" "If yes then...\n\n" Loading @@ -68,6 +69,9 @@ namespace Isis { abort(); } else { XCloseDisplay(xDisplay); } #endif } Loading