Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Hunger
qt-creator
Commits
f996b246
Commit
f996b246
authored
15 years ago
by
Tobias Hunger
Browse files
Options
Downloads
Patches
Plain Diff
Remove the side widget of the ProjectLoadWizard
We only have one page there, so there is no need for the side widget.
parent
aca07a08
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/qt4projectmanager/projectloadwizard.cpp
+2
-3
2 additions, 3 deletions
src/plugins/qt4projectmanager/projectloadwizard.cpp
src/plugins/qt4projectmanager/projectloadwizard.h
+3
-2
3 additions, 2 deletions
src/plugins/qt4projectmanager/projectloadwizard.h
with
5 additions
and
5 deletions
src/plugins/qt4projectmanager/projectloadwizard.cpp
+
2
−
3
View file @
f996b246
...
@@ -48,7 +48,7 @@ using namespace Qt4ProjectManager;
...
@@ -48,7 +48,7 @@ using namespace Qt4ProjectManager;
using
namespace
Qt4ProjectManager
::
Internal
;
using
namespace
Qt4ProjectManager
::
Internal
;
ProjectLoadWizard
::
ProjectLoadWizard
(
Qt4Project
*
project
,
QWidget
*
parent
,
Qt
::
WindowFlags
flags
)
ProjectLoadWizard
::
ProjectLoadWizard
(
Qt4Project
*
project
,
QWidget
*
parent
,
Qt
::
WindowFlags
flags
)
:
Utils
::
Wizard
(
parent
,
flags
),
m_project
(
project
),
m_targetSetupPage
(
0
)
:
Q
Wizard
(
parent
,
flags
),
m_project
(
project
),
m_targetSetupPage
(
0
)
{
{
Q_ASSERT
(
project
);
Q_ASSERT
(
project
);
...
@@ -107,8 +107,7 @@ void ProjectLoadWizard::setupTargetPage()
...
@@ -107,8 +107,7 @@ void ProjectLoadWizard::setupTargetPage()
m_targetSetupPage
->
setImportDirectoryBrowsingEnabled
(
true
);
m_targetSetupPage
->
setImportDirectoryBrowsingEnabled
(
true
);
m_targetSetupPage
->
setImportDirectoryBrowsingLocation
(
m_project
->
projectDirectory
());
m_targetSetupPage
->
setImportDirectoryBrowsingLocation
(
m_project
->
projectDirectory
());
const
int
targetPageId
=
addPage
(
m_targetSetupPage
);
addPage
(
m_targetSetupPage
);
wizardProgress
()
->
item
(
targetPageId
)
->
setTitle
(
tr
(
"Targets"
));
}
}
void
ProjectLoadWizard
::
applySettings
()
void
ProjectLoadWizard
::
applySettings
()
...
...
This diff is collapsed.
Click to expand it.
src/plugins/qt4projectmanager/projectloadwizard.h
+
3
−
2
View file @
f996b246
...
@@ -32,7 +32,8 @@
...
@@ -32,7 +32,8 @@
#include
"qtversionmanager.h"
#include
"qtversionmanager.h"
#include
<wizards/targetsetuppage.h>
#include
<wizards/targetsetuppage.h>
#include
<utils/wizard.h>
#include
<QtGui/QWizard>
namespace
Qt4ProjectManager
{
namespace
Qt4ProjectManager
{
class
Qt4Project
;
class
Qt4Project
;
...
@@ -41,7 +42,7 @@ namespace Internal {
...
@@ -41,7 +42,7 @@ namespace Internal {
class
TargetsPage
;
class
TargetsPage
;
class
ProjectLoadWizard
:
public
Utils
::
Wizard
class
ProjectLoadWizard
:
public
Q
Wizard
{
{
Q_OBJECT
Q_OBJECT
public:
public:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment