git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a4b54d
)
Qt4 - Fix some sizing in open dialog.
author
Jean-Baptiste Kempf
<jb@videolan.org>
Sat, 26 Jan 2008 01:53:51 +0000
(
01:53
+0000)
committer
Jean-Baptiste Kempf
<jb@videolan.org>
Sat, 26 Jan 2008 01:53:51 +0000
(
01:53
+0000)
modules/gui/qt4/dialogs/open.cpp
patch
|
blob
|
history
diff --git
a/modules/gui/qt4/dialogs/open.cpp
b/modules/gui/qt4/dialogs/open.cpp
index
fb0f31c
..
086099b
100644
(file)
--- a/
modules/gui/qt4/dialogs/open.cpp
+++ b/
modules/gui/qt4/dialogs/open.cpp
@@
-225,7
+225,8
@@
void OpenDialog::toggleAdvancedPanel()
{
ui.advancedFrame->hide();
//FIXME: Clear Bug here. Qt ?
- resize( size().width(), size().height() - ui.advancedFrame->height() );
+ if( size().isValid() )
+ resize( size().width(), size().height() - ui.advancedFrame->height() );
}
else
{