remove forceRepaint()
authorChristian Pulvermacher <christian@christian-laptop.(none)>
Sun, 24 Oct 2010 21:08:37 +0000 (23:08 +0200)
committerChristian Pulvermacher <christian@christian-laptop.(none)>
Sun, 24 Oct 2010 21:08:37 +0000 (23:08 +0200)
src/mainwindow.cpp
src/mainwindow.h

index d52cc85..ccc1eb9 100644 (file)
@@ -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();
 }
index f152f6a..6444d49 100644 (file)
@@ -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); }