From 50d2715a90d8c209d42adaebbaed1c49faeaad8b Mon Sep 17 00:00:00 2001 From: Christian Pulvermacher Date: Sun, 24 Oct 2010 23:08:37 +0200 Subject: [PATCH] remove forceRepaint() --- src/mainwindow.cpp | 8 -------- src/mainwindow.h | 1 - 2 files changed, 9 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index d52cc85..ccc1eb9 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -264,12 +264,6 @@ void MainWindow::statusChanged(RemoteView::RemoteStatus status) old_status = status; } -void MainWindow::forceRepaint() -{ - if(vnc_view) - vnc_view->forceFullRepaint(); -} - //updates available screen space for current zoom level //necessary when rotating, showing fullscreen, etc. void MainWindow::updateScreenSpace() @@ -384,8 +378,6 @@ void MainWindow::zoomSliderReleased() static QTime time; if(!time.isNull() and time.elapsed() < 700) //double clicked zoom_slider->setValue(95); //100% - else - forceRepaint(); time.restart(); } diff --git a/src/mainwindow.h b/src/mainwindow.h index f152f6a..6444d49 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -36,7 +36,6 @@ public slots: void showConnectDialog(); void connectToHost(QString url, int quality, int listen_port); void disconnectFromHost(); - void forceRepaint(); void updateScreenSpace(); void updateScreenSpaceDelayed(); void sendTab() { vnc_view->sendKey(Qt::Key_Tab); } -- 1.7.9.5