| | |
| | | file(GLOB _src *.h *.cpp *.qrc) |
| | | |
| | | qwk_add_example(${PROJECT_NAME} |
| | | SOURCES ${_src} |
| | | SOURCES ${_src} ../shared/resources/shared.qrc |
| | | QT_LINKS Core Gui Qml Quick |
| | | LINKS QWKQuick |
| | | ) |
| | |
| | | // we don't repaint it. This exception disappears if we add SWP_NOCOPYBITS flag. |
| | | // But I don't know what caused the problem, or why this would solve it. |
| | | const auto windowPos = reinterpret_cast<LPWINDOWPOS>(lParam); |
| | | if ((windowPos->flags & SWP_FRAMECHANGED) && (windowPos->flags & SWP_NOSIZE)) { |
| | | if (windowPos->flags == 0x37) { |
| | | windowPos->flags |= SWP_NOCOPYBITS; |
| | | } |
| | | break; |