From 360d107d2a7a3e5f61d600bb5ef50019b02ac114 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 11 Sep 2018 14:23:35 +0200 Subject: [PATCH] Remove dead overlay code Remnants from an earlier version of the code. --- vncviewer/DesktopWindow.cxx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx index 11773d33..a8e17fce 100644 --- a/vncviewer/DesktopWindow.cxx +++ b/vncviewer/DesktopWindow.cxx @@ -601,11 +601,6 @@ void DesktopWindow::setOverlay(const char* text, ...) delete imageText; - x = (this->w() - image->w()) / 2; - y = 50; - w = image->w(); - h = image->h(); - overlay = new Surface(image); overlayAlpha = 0; gettimeofday(&overlayStart, NULL); -- 2.39.5