Editors: Add to workspace in MainWindow class, not in themselves
This commit is contained in:
1 parent
7a21d699ea
commit
f131fbd877
10 files changed
+48
-44
No files matched your search
@@ -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};
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user