Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLMC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
21
Issues
21
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
VLMC
Commits
24a732f5
Commit
24a732f5
authored
Jun 20, 2010
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Propagate the VLMCWorkspace type change.
parent
60ce98a1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
src/Gui/project/GuiProjectManager.cpp
src/Gui/project/GuiProjectManager.cpp
+2
-2
src/Gui/wizard/GeneralPage.cpp
src/Gui/wizard/GeneralPage.cpp
+2
-2
src/Gui/wizard/WelcomePage.cpp
src/Gui/wizard/WelcomePage.cpp
+1
-1
No files found.
src/Gui/project/GuiProjectManager.cpp
View file @
24a732f5
...
...
@@ -97,7 +97,7 @@ GUIProjectManager::createNewProjectFile( bool saveAs )
{
QString
outputFileName
=
QFileDialog
::
getSaveFileName
(
NULL
,
"Enter the output file name"
,
VLMC_
PROJECT_
GET_STRING
(
"general/VLMCWorkspace"
),
VLMC_GET_STRING
(
"general/VLMCWorkspace"
),
"VLMC project file(*.vlmc)"
);
if
(
outputFileName
.
length
()
==
0
)
return
false
;
...
...
@@ -259,7 +259,7 @@ GUIProjectManager::loadProject()
{
QString
fileName
=
QFileDialog
::
getOpenFileName
(
NULL
,
"Enter the output file name"
,
VLMC_
PROJECT_
GET_STRING
(
"general/VLMCWorkspace"
),
VLMC_GET_STRING
(
"general/VLMCWorkspace"
),
"VLMC project file(*.vlmc)"
);
if
(
fileName
.
length
()
<=
0
)
//If the user canceled.
return
;
...
...
src/Gui/wizard/GeneralPage.cpp
View file @
24a732f5
...
...
@@ -76,7 +76,7 @@ void GeneralPage::initializePage()
ui
.
lineEditName
->
setText
(
projectName
);
//fetching the global workspace path
QString
workspacePath
=
VLMC_
PROJECT_
GET_STRING
(
"general/VLMCWorkspace"
);
QString
workspacePath
=
VLMC_GET_STRING
(
"general/VLMCWorkspace"
);
ui
.
lineEditWorkspace
->
setText
(
workspacePath
);
updateProjectLocation
();
...
...
@@ -109,7 +109,7 @@ bool GeneralPage::validatePage()
QVariant
projectName
(
ui
.
lineEditName
->
text
()
);
sManager
->
setValue
(
"general/ProjectName"
,
projectName
,
SettingsManager
::
Project
);
sManager
->
setValue
(
"general/VLMCWorkspace"
,
ui
.
lineEditWorkspace
->
text
(),
SettingsManager
::
Project
);
sManager
->
setValue
(
"general/VLMCWorkspace"
,
ui
.
lineEditWorkspace
->
text
(),
SettingsManager
::
Vlmc
);
//Create the project directory in the workspace dir.
QString
projectPath
=
ui
.
lineEditName
->
text
().
replace
(
' '
,
'_'
);
...
...
src/Gui/wizard/WelcomePage.cpp
View file @
24a732f5
...
...
@@ -134,7 +134,7 @@ void WelcomePage::loadProject()
{
QString
projectPath
=
QFileDialog
::
getOpenFileName
(
NULL
,
"Enter the output file name"
,
VLMC_
PROJECT_
GET_STRING
(
"general/VLMCWorkspace"
),
VLMC_GET_STRING
(
"general/VLMCWorkspace"
),
"VLMC project file(*.vlmc)"
);
if
(
projectPath
.
isEmpty
()
)
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment