Skip to content
GitLab
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
f7d665ba
Commit
f7d665ba
authored
Sep 29, 2009
by
Oswald Buddenhagen
Browse files
remove dead code
parent
530d03b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt4nodes.cpp
View file @
f7d665ba
...
...
@@ -1196,29 +1196,6 @@ QStringList Qt4ProFileNode::subDirsPaths(ProFileReader *reader) const
return
subProjectPaths
;
}
QStringList
Qt4ProFileNode
::
qBuildSubDirsPaths
(
const
QString
&
scanDir
)
const
{
QStringList
subProjectPaths
;
// With QBuild we only look for project files named qbuild.pro
QString
realFile
=
scanDir
+
"/qbuild.pro"
;
if
(
QFile
::
exists
(
realFile
))
subProjectPaths
<<
realFile
;
// With QBuild 'subdirs' are implied
QDir
dir
(
scanDir
);
QStringList
subDirs
=
dir
.
entryList
(
QDir
::
Dirs
|
QDir
::
NoDotAndDotDot
);
foreach
(
QString
subDir
,
subDirs
)
{
// 'tests' sub directories are an exception to the 'QBuild scans everything' rule.
// Tests are only build with the 'make test' command, in which case QBuild WILL look
// for a tests subdir and run everything in there.
if
(
subDir
!=
"tests"
)
subProjectPaths
+=
qBuildSubDirsPaths
(
scanDir
+
"/"
+
subDir
);
}
return
subProjectPaths
;
}
QString
Qt4PriFileNode
::
buildDir
()
const
{
const
QDir
srcDirRoot
=
QFileInfo
(
m_project
->
rootProjectNode
()
->
path
()).
absoluteDir
();
...
...
src/plugins/qt4projectmanager/qt4nodes.h
View file @
f7d665ba
...
...
@@ -213,7 +213,6 @@ private:
QStringList
mocDirPaths
(
ProFileReader
*
reader
)
const
;
QStringList
includePaths
(
ProFileReader
*
reader
)
const
;
QStringList
subDirsPaths
(
ProFileReader
*
reader
)
const
;
QStringList
qBuildSubDirsPaths
(
const
QString
&
scanDir
)
const
;
void
invalidate
();
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment