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
0f04f083
Commit
0f04f083
authored
Feb 12, 2010
by
Friedemann Kleint
Browse files
ProjectExplorer: Fixed static storage of Icons.
parent
b7512a2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/projectnodes.cpp
View file @
0f04f083
...
...
@@ -149,15 +149,11 @@ bool FileNode::isGenerated() const
\see FileNode
\see ProjectNode
*/
FolderNode
::
FolderNode
(
const
QString
&
folderPath
)
:
Node
(
FolderNodeType
,
folderPath
),
m_folderName
(
folderPath
)
FolderNode
::
FolderNode
(
const
QString
&
folderPath
)
:
Node
(
FolderNodeType
,
folderPath
),
m_folderName
(
folderPath
),
m_icon
(
QApplication
::
style
()
->
standardIcon
(
QStyle
::
SP_DirIcon
))
{
static
QIcon
dirIcon
;
if
(
dirIcon
.
isNull
())
{
dirIcon
=
QApplication
::
style
()
->
standardIcon
(
QStyle
::
SP_DirIcon
);
}
m_icon
=
dirIcon
;
}
FolderNode
::~
FolderNode
()
...
...
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