forked from qt-creator/qt-creator
Use Open Project button in Getting Started mode
We already have it in the projects mode so we might as well use the same in "Getting Started". Reviewed-by: danimo
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/coreconstants.h>
|
||||
#include <coreplugin/mainwindow.h>
|
||||
|
||||
#include <utils/pathchooser.h>
|
||||
|
||||
@@ -86,10 +87,13 @@ GettingStartedWelcomePageWidget::GettingStartedWelcomePageWidget(QWidget *parent
|
||||
|
||||
connect(ui->nextTipBtn, SIGNAL(clicked()), this, SLOT(slotNextTip()));
|
||||
connect(ui->prevTipBtn, SIGNAL(clicked()), this, SLOT(slotPrevTip()));
|
||||
connect(ui->openProjectButton, SIGNAL(clicked()), Core::ICore::instance()->mainWindow(), SLOT(openProject()));
|
||||
connect(ui->createNewProjectButton, SIGNAL(clicked()), this, SLOT(slotCreateNewProject()));
|
||||
|
||||
ui->createNewProjectButton->setIcon(
|
||||
QIcon::fromTheme("document-new", ui->createNewProjectButton->icon()));
|
||||
ui->openProjectButton->setIcon(
|
||||
QIcon::fromTheme("document-open", ui->openProjectButton->icon()));
|
||||
}
|
||||
|
||||
GettingStartedWelcomePageWidget::~GettingStartedWelcomePageWidget()
|
||||
|
||||
Reference in New Issue
Block a user