don't show WelcomeScreen when importing/loading
WelcomeScreen was incorrectly shown when lmms loaded or imported a project (for example via command line). Fixed.
This commit is contained in:
@@ -69,8 +69,6 @@ public:
|
||||
return m_toolBar;
|
||||
}
|
||||
|
||||
// show MainWidget or WelcomeScreen
|
||||
void setMainWidgetVisible( bool _visible );
|
||||
|
||||
//int addWidgetToToolBar( QWidget * _w, int _row = -1, int _col = -1 );
|
||||
//void addSpacingToToolBar( int _size );
|
||||
@@ -109,6 +107,7 @@ public:
|
||||
|
||||
void setPlaybackMode( ProjectPlaybackMode _playbackMode );
|
||||
|
||||
void showWelcomeScreen(bool _visible = true);
|
||||
|
||||
public slots:
|
||||
void resetWindowTitle();
|
||||
@@ -145,6 +144,7 @@ public slots:
|
||||
|
||||
protected:
|
||||
virtual void closeEvent( QCloseEvent * _ce );
|
||||
virtual void showEvent( QShowEvent * _se );
|
||||
virtual void focusOutEvent( QFocusEvent * _fe );
|
||||
virtual void keyPressEvent( QKeyEvent * _ke );
|
||||
virtual void keyReleaseEvent( QKeyEvent * _ke );
|
||||
|
||||
@@ -53,7 +53,7 @@ private slots:
|
||||
|
||||
|
||||
private:
|
||||
void switchView();
|
||||
void hideWelcomeScreen();
|
||||
|
||||
Ui::WelcomeScreen * ui;
|
||||
RecentResourceListModel * m_recentProjectsModel;
|
||||
|
||||
Reference in New Issue
Block a user