projects
/
presencevnc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cce5bc
)
force resize after rotation
author
christian
<christian@christian-laptop.(none)>
Tue, 13 Jul 2010 14:36:29 +0000
(16:36 +0200)
committer
christian
<christian@christian-laptop.(none)>
Tue, 13 Jul 2010 14:36:29 +0000
(16:36 +0200)
src/mainwindow.cpp
patch
|
blob
|
history
diff --git
a/src/mainwindow.cpp
b/src/mainwindow.cpp
index
27471fe
..
e40015f
100644
(file)
--- a/
src/mainwindow.cpp
+++ b/
src/mainwindow.cpp
@@
-65,6
+65,9
@@
MainWindow::MainWindow(QString url, int quality):
setAttribute(Qt::WA_Maemo5AutoOrientation, true);
//setAttribute(Qt::WA_Maemo5PortraitOrientation, true);
+ connect(QApplication::desktop(), SIGNAL(resized(int)),
+ this, SLOT(forceResize()));
+
if(url.isNull()) {
disconnect_action->setEnabled(false);
toolbar->setEnabled(false);