projects
/
presencevnc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27c4715
)
keep zoom level when resized
author
Christian Pulvermacher
<christian@hazel.(none)>
Tue, 5 Oct 2010 15:50:24 +0000
(17:50 +0200)
committer
Christian Pulvermacher
<christian@hazel.(none)>
Tue, 5 Oct 2010 15:50:24 +0000
(17:50 +0200)
src/mainwindow.cpp
patch
|
blob
|
history
diff --git
a/src/mainwindow.cpp
b/src/mainwindow.cpp
index
47bfc4e
..
c24e389
100644
(file)
--- a/
src/mainwindow.cpp
+++ b/
src/mainwindow.cpp
@@
-337,6
+337,8
@@
void MainWindow::resizeEvent(QResizeEvent *event)
QMainWindow::resizeEvent(event);
forceResize();
+ if(vnc_view)
+ vnc_view->setZoomLevel(zoom_slider->value());
}
void MainWindow::showInputPanel()