Editors: Add to workspace in MainWindow class, not in themselves

This commit is contained in:
Lukas W committed 2014-12-08 19:22:52 +01:00
1 parent 7a21d699ea
commit f131fbd877
10 files changed
+48 -44

No files matched your search

+4 -3
View File
@@ -680,10 +680,11 @@ SongEditorWindow::SongEditorWindow(Song* song) :
m_toolBar->addSeparator();
m_toolBar->addWidget( zoom_lbl );
m_toolBar->addWidget( m_zoomingComboBox );
}
parentWidget()->resize( 600, 300 );
parentWidget()->move( 5, 5 );
parentWidget()->show();
QSize SongEditorWindow::sizeHint() const
{
return {600, 300};
}