From 39636e38fe905ed4f256a447e3451a62624405cd Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Thu, 19 Mar 2015 10:14:56 +0100 Subject: eglfs: Disable the blinking cursor Make eglfs and linuxfb use the same code via QFbVtHandler. Task-number: QTBUG-45106 Change-Id: I876bbf5f13bab6d4a81f616c01f15f9c98edf5fc Reviewed-by: Andy Nichols --- src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/plugins') diff --git a/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp b/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp index 5407fa66dc..91708c0a47 100644 --- a/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp +++ b/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp @@ -264,9 +264,6 @@ static bool switchToGraphicsMode(int ttyfd, int *oldMode) return false; } - // No blankin' screen, no blinkin' cursor!, no cursor! - const char termctl[] = "\033[9;0]\033[?33l\033[?25l\033[?1c"; - QT_WRITE(ttyfd, termctl, sizeof(termctl)); return true; } @@ -274,10 +271,6 @@ static void resetTty(int ttyfd, int oldMode) { ioctl(ttyfd, KDSETMODE, oldMode); - // Blankin' screen, blinkin' cursor! - const char termctl[] = "\033[9;15]\033[?33h\033[?25h\033[?0c"; - QT_WRITE(ttyfd, termctl, sizeof(termctl)); - QT_CLOSE(ttyfd); } -- cgit v1.2.3