4-arg setWinSize() was added on 5.93, not 5.92

The setWinSize(int lines, int columns, int height, int width) which also
takes pixels was added on 3c99d9e5, which landed on 5.93.
wilder
Luis Javier Merino Morán 4 years ago
parent ec3ad5a10d
commit e16f5fb5b4
  1. 2
      src/Pty.cpp

@ -90,7 +90,7 @@ void Pty::setWindowSize(int columns, int lines, int width, int height)
_windowHeight = height;
if (pty()->masterFd() >= 0) {
#if KPTY_VERSION >= QT_VERSION_CHECK(5, 92, 0)
#if KPTY_VERSION >= QT_VERSION_CHECK(5, 93, 0)
pty()->setWinSize(_windowLines, _windowColumns, _windowHeight, _windowWidth);
#else
struct winsize w;

Loading…
Cancel
Save