set QMdiArea::DontMaximizeSubWindowOnActivation option for not crashing when loading project while a subwindow is maximized (this looks like a bug in Qt) (closes #2077774)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1573 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
2008-09-07 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
|
||||
|
||||
* src/gui/main_window.cpp:
|
||||
set QMdiArea::DontMaximizeSubWindowOnActivation option for not
|
||||
crashing when loading project while a subwindow is maximized (this
|
||||
looks like a bug in Qt) (closes #2077774)
|
||||
|
||||
* src/gui/controller_connection_dialog.cpp:
|
||||
fixed crash when closing controller select dialog and no controller
|
||||
has been selected (closes #2078357)
|
||||
|
||||
@@ -132,6 +132,7 @@ mainWindow::mainWindow( void ) :
|
||||
|
||||
m_workspace = new QMdiArea( splitter );
|
||||
m_workspace->setBackground( Qt::NoBrush );
|
||||
m_workspace->setOption( QMdiArea::DontMaximizeSubWindowOnActivation );
|
||||
m_workspace->setHorizontalScrollBarPolicy( Qt::ScrollBarAsNeeded );
|
||||
m_workspace->setVerticalScrollBarPolicy( Qt::ScrollBarAsNeeded );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user