Merge pull request #2847 from shun-iwasawa/g/fix_crash_on_launch_without_viewer

Fix Crash on Launch without Viewer
This commit is contained in:
manongjohn 2019-10-22 19:13:21 -04:00 committed by GitHub
commit 9495927d89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -622,6 +622,7 @@ int main(int argc, char *argv[]) {
#ifdef _WIN32 #ifdef _WIN32
// http://doc.qt.io/qt-5/windows-issues.html#fullscreen-opengl-based-windows // http://doc.qt.io/qt-5/windows-issues.html#fullscreen-opengl-based-windows
if (w.windowHandle())
QWindowsWindowFunctions::setHasBorderInFullScreen(w.windowHandle(), true); QWindowsWindowFunctions::setHasBorderInFullScreen(w.windowHandle(), true);
#endif #endif