Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Tobias Hunger
qt-creator
Commits
e2fb40c7
Commit
e2fb40c7
authored
Dec 02, 2008
by
Friedemann Kleint
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes: Compiler warnings
parent
05c35356
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
src/plugins/cmakeprojectmanager/cmakeprojectplugin.cpp
src/plugins/cmakeprojectmanager/cmakeprojectplugin.cpp
+3
-3
src/plugins/projectexplorer/buildstepspage.cpp
src/plugins/projectexplorer/buildstepspage.cpp
+1
-1
src/plugins/projectexplorer/runconfiguration.cpp
src/plugins/projectexplorer/runconfiguration.cpp
+2
-0
src/plugins/texteditor/fontsettings.cpp
src/plugins/texteditor/fontsettings.cpp
+1
-1
No files found.
src/plugins/cmakeprojectmanager/cmakeprojectplugin.cpp
View file @
e2fb40c7
...
...
@@ -48,11 +48,11 @@ CMakeProjectPlugin::~CMakeProjectPlugin()
{
}
bool
CMakeProjectPlugin
::
initialize
(
const
QStringList
&
/*arguments*/
,
QString
*
error
_m
essage
)
bool
CMakeProjectPlugin
::
initialize
(
const
QStringList
&
/*arguments*/
,
QString
*
error
M
essage
)
{
Core
::
ICore
*
core
=
ExtensionSystem
::
PluginManager
::
instance
()
->
getObject
<
Core
::
ICore
>
();
QString
errorMessage
;
core
->
mimeDatabase
()
->
addMimeTypes
(
QLatin1String
(
":cmakeproject/CMakeProject.mimetypes.xml"
),
&
errorMessage
)
;
if
(
!
core
->
mimeDatabase
()
->
addMimeTypes
(
QLatin1String
(
":cmakeproject/CMakeProject.mimetypes.xml"
),
errorMessage
))
return
false
;
addAutoReleasedObject
(
new
CMakeManager
());
return
true
;
}
...
...
src/plugins/projectexplorer/buildstepspage.cpp
View file @
e2fb40c7
...
...
@@ -92,7 +92,7 @@ BuildStepsPage::~BuildStepsPage()
delete
m_ui
;
}
void
BuildStepsPage
::
displayNameChanged
(
BuildStep
*
bs
,
const
QString
&
displayName
)
void
BuildStepsPage
::
displayNameChanged
(
BuildStep
*
bs
,
const
QString
&
/*
displayName
*/
)
{
int
index
=
m_pro
->
buildSteps
().
indexOf
(
bs
);
m_ui
->
buildSettingsList
->
invisibleRootItem
()
->
child
(
index
)
->
setText
(
0
,
bs
->
displayName
());
...
...
src/plugins/projectexplorer/runconfiguration.cpp
View file @
e2fb40c7
...
...
@@ -118,6 +118,8 @@ void RunControl::bringApplicationToForeground(qint64 pid)
m_internalPid
=
pid
;
m_foregroundCount
=
0
;
bringApplicationToForegroundInternal
();
#else
Q_UNUSED
(
pid
)
#endif
}
...
...
src/plugins/texteditor/fontsettings.cpp
View file @
e2fb40c7
...
...
@@ -133,7 +133,7 @@ bool Format::equals(const Format &f) const
m_bold
==
f
.
m_bold
&&
m_italic
==
f
.
m_italic
;
}
// -- FontSettings
FontSettings
::
FontSettings
(
const
FormatDescriptions
&
fd
)
:
FontSettings
::
FontSettings
(
const
FormatDescriptions
&
/* fd */
)
:
m_family
(
defaultFixedFontFamily
()),
m_fontSize
(
DEFAULT_FONT_SIZE
)
{
...
...
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