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:
Andrew Kelley
2009-11-10 20:22:38 -07:00
parent 0408186094
commit b7e73fbe0c
5 changed files with 30 additions and 23 deletions

View File

@@ -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 );

View File

@@ -53,7 +53,7 @@ private slots:
private:
void switchView();
void hideWelcomeScreen();
Ui::WelcomeScreen * ui;
RecentResourceListModel * m_recentProjectsModel;