Commit e16f5fb5 authored by Luis Javier Merino's avatar Luis Javier Merino
Browse files

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.
parent ec3ad5a1
Pipeline #182342 passed with stage
in 3 minutes and 43 seconds
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment