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
7000f7ca
Commit
7000f7ca
authored
Jan 07, 2011
by
hjk
Browse files
projectexplorer: move runcontrol/outputwindow connection to outputwindow
parent
b4d6a5ba
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/outputwindow.cpp
View file @
7000f7ca
...
...
@@ -246,6 +246,8 @@ void OutputPane::createNewOutputWindow(RunControl *rc)
this
,
SLOT
(
runControlStarted
()));
connect
(
rc
,
SIGNAL
(
finished
()),
this
,
SLOT
(
runControlFinished
()));
connect
(
rc
,
SIGNAL
(
appendMessage
(
ProjectExplorer
::
RunControl
*
,
QString
,
ProjectExplorer
::
OutputFormat
)),
this
,
SLOT
(
appendMessage
(
ProjectExplorer
::
RunControl
*
,
QString
,
ProjectExplorer
::
OutputFormat
)));
// First look if we can reuse a tab
const
int
size
=
m_runControlTabs
.
size
();
...
...
src/plugins/projectexplorer/outputwindow.h
View file @
7000f7ca
...
...
@@ -89,6 +89,7 @@ public:
void
goToPrev
();
bool
canNavigate
();
void
createNewOutputWindow
(
RunControl
*
rc
);
void
showTabFor
(
RunControl
*
rc
);
bool
aboutToClose
()
const
;
...
...
@@ -99,7 +100,6 @@ signals:
public
slots
:
// ApplicationOutput specifics
void
createNewOutputWindow
(
RunControl
*
rc
);
void
projectRemoved
();
void
appendMessage
(
ProjectExplorer
::
RunControl
*
rc
,
const
QString
&
out
,
...
...
src/plugins/projectexplorer/projectexplorer.cpp
View file @
7000f7ca
...
...
@@ -1386,13 +1386,7 @@ void ProjectExplorerPlugin::startRunControl(RunControl *runControl, const QStrin
if
(
runMode
==
ProjectExplorer
::
Constants
::
RUNMODE
)
d
->
m_outputPane
->
popup
(
false
);
d
->
m_outputPane
->
showTabFor
(
runControl
);
connect
(
runControl
,
SIGNAL
(
appendMessage
(
ProjectExplorer
::
RunControl
*
,
QString
,
ProjectExplorer
::
OutputFormat
)),
d
->
m_outputPane
,
SLOT
(
appendMessage
(
ProjectExplorer
::
RunControl
*
,
QString
,
ProjectExplorer
::
OutputFormat
)));
connect
(
runControl
,
SIGNAL
(
finished
()),
this
,
SLOT
(
runControlFinished
()));
connect
(
runControl
,
SIGNAL
(
finished
()),
this
,
SLOT
(
runControlFinished
()));
runControl
->
start
();
emit
updateRunActions
();
}
...
...
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