forked from qt-creator/qt-creator
Add "Open Project" to welcome page
By popular request I added a "open project" option. We don't currently have a way of differentiating project types from other files so I had to hardcode .pro and .qmlproject for now. Themed icons was also added to the new and open buttons. Reviewed-by: danimo Task-number: QTCREATORBUG-1142
This commit is contained in:
@@ -87,6 +87,9 @@ GettingStartedWelcomePageWidget::GettingStartedWelcomePageWidget(QWidget *parent
|
||||
connect(ui->nextTipBtn, SIGNAL(clicked()), this, SLOT(slotNextTip()));
|
||||
connect(ui->prevTipBtn, SIGNAL(clicked()), this, SLOT(slotPrevTip()));
|
||||
connect(ui->createNewProjectButton, SIGNAL(clicked()), this, SLOT(slotCreateNewProject()));
|
||||
|
||||
ui->createNewProjectButton->setIcon(
|
||||
QIcon::fromTheme("document-new", ui->createNewProjectButton->icon()));
|
||||
}
|
||||
|
||||
GettingStartedWelcomePageWidget::~GettingStartedWelcomePageWidget()
|
||||
|
||||
Reference in New Issue
Block a user