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
455e5c87
Commit
455e5c87
authored
Feb 28, 2011
by
hjk
Browse files
runconfiguration.h/runsettingspropertiespage.*: code cosmetics
parent
87423acc
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/runconfiguration.h
View file @
455e5c87
...
...
@@ -43,18 +43,13 @@
#include
<QtCore/QWeakPointer>
#include
<QtGui/QWidget>
QT_BEGIN_NAMESPACE
class
QString
;
QT_END_NAMESPACE
namespace
ProjectExplorer
{
class
Target
;
class
RunControl
;
class
BuildConfiguration
;
class
OutputFormatter
;
class
IRunConfigurationAspect
;
class
OutputFormatter
;
class
RunControl
;
class
Target
;
/**
* Base class for a run configuration. A run configuration specifies how a
...
...
src/plugins/projectexplorer/runsettingspropertiespage.cpp
View file @
455e5c87
...
...
@@ -485,7 +485,6 @@ void RunSettingsWidget::addSubWidget(RunConfigWidget *widget)
void
RunSettingsWidget
::
removeSubWidgets
()
{
// foreach does not like commas in types, it's only a macro after all
typedef
QPair
<
RunConfigWidget
*
,
QLabel
*>
RunConfigItem
;
foreach
(
const
RunConfigItem
&
item
,
m_subWidgets
)
{
delete
item
.
first
;
delete
item
.
second
;
...
...
src/plugins/projectexplorer/runsettingspropertiespage.h
View file @
455e5c87
...
...
@@ -56,7 +56,7 @@ class RunConfigWidget;
namespace
Internal
{
const
char
*
const
RUNSETTINGS_PANEL_ID
(
"ProjectExplorer.RunSettingsPanel"
)
;
const
char
*
const
RUNSETTINGS_PANEL_ID
=
"ProjectExplorer.RunSettingsPanel"
;
namespace
Ui
{
class
RunSettingsPropertiesPage
;
...
...
@@ -93,7 +93,7 @@ class RunSettingsWidget : public QWidget
{
Q_OBJECT
public:
RunSettingsWidget
(
Target
*
target
);
explicit
RunSettingsWidget
(
Target
*
target
);
~
RunSettingsWidget
();
private
slots
:
...
...
@@ -132,7 +132,8 @@ private:
QMenu
*
m_addRunMenu
;
QMenu
*
m_addDeployMenu
;
bool
m_ignoreChange
;
QList
<
QPair
<
RunConfigWidget
*
,
QLabel
*>
>
m_subWidgets
;
typedef
QPair
<
RunConfigWidget
*
,
QLabel
*>
RunConfigItem
;
QList
<
RunConfigItem
>
m_subWidgets
;
};
}
// namespace Internal
...
...
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