Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
70747693
Commit
70747693
authored
Apr 23, 2009
by
dt
Browse files
Remove setPrependPath() and prependPath() from qtversion
They aren't used anymore.
parent
b6114dfa
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/qtversionmanager.cpp
View file @
70747693
...
...
@@ -78,7 +78,6 @@ QtVersionManager::QtVersionManager()
id
,
s
->
value
(
"IsSystemVersion"
,
false
).
toBool
());
version
->
setMingwDirectory
(
s
->
value
(
"MingwDirectory"
).
toString
());
version
->
setPrependPath
(
s
->
value
(
"PrependPath"
).
toString
());
version
->
setMsvcVersion
(
s
->
value
(
"msvcVersion"
).
toString
());
m_versions
.
append
(
version
);
}
...
...
@@ -151,7 +150,6 @@ void QtVersionManager::writeVersionsIntoSettings()
s
->
setValue
(
"Path"
,
m_versions
.
at
(
i
)
->
path
());
s
->
setValue
(
"Id"
,
m_versions
.
at
(
i
)
->
uniqueId
());
s
->
setValue
(
"MingwDirectory"
,
m_versions
.
at
(
i
)
->
mingwDirectory
());
s
->
setValue
(
"PrependPath"
,
m_versions
.
at
(
i
)
->
prependPath
());
s
->
setValue
(
"msvcVersion"
,
m_versions
.
at
(
i
)
->
msvcVersion
());
s
->
setValue
(
"IsSystemVersion"
,
m_versions
.
at
(
i
)
->
isSystemVersion
());
}
...
...
@@ -202,8 +200,6 @@ void QtVersionManager::addNewVersionsFromInstaller()
QtVersion
*
version
=
new
QtVersion
(
newVersionData
[
0
],
newVersionData
[
1
],
m_idcount
++
);
if
(
newVersionData
.
count
()
>=
3
)
version
->
setMingwDirectory
(
newVersionData
[
2
]);
if
(
newVersionData
.
count
()
>=
4
)
version
->
setPrependPath
(
newVersionData
[
3
]);
bool
versionWasAlreadyInList
=
false
;
foreach
(
const
QtVersion
*
const
it
,
m_versions
)
{
...
...
@@ -871,16 +867,6 @@ void QtVersion::setMingwDirectory(const QString &directory)
m_mingwDirectory
=
directory
;
}
QString
QtVersion
::
prependPath
()
const
{
return
m_prependPath
;
}
void
QtVersion
::
setPrependPath
(
const
QString
&
directory
)
{
m_prependPath
=
directory
;
}
QString
QtVersion
::
msvcVersion
()
const
{
return
m_msvcVersion
;
...
...
src/plugins/projectexplorer/qtversionmanager.h
View file @
70747693
...
...
@@ -71,12 +71,11 @@ public:
QString
mingwDirectory
()
const
;
void
setMingwDirectory
(
const
QString
&
directory
);
QString
prependPath
()
const
;
void
setPrependPath
(
const
QString
&
string
);
QString
msvcVersion
()
const
;
QString
wincePlatform
()
const
;
void
setMsvcVersion
(
const
QString
&
version
);
void
addToEnvironment
(
ProjectExplorer
::
Environment
&
env
);
bool
hasDebuggingHelper
()
const
;
// Builds a debugging library
// returns the output of the commands
...
...
@@ -95,6 +94,7 @@ public:
QString
dumperLibrary
()
const
;
private:
static
int
getUniqueId
();
// Also used by QtOptionsPageWidget
void
setName
(
const
QString
&
name
);
void
setPath
(
const
QString
&
path
);
void
updateSourcePath
();
...
...
Write
Preview
Supports
Markdown
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