Skip to content
GitLab
Menu
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
2b3db205
Commit
2b3db205
authored
Jul 15, 2010
by
dt
Committed by
Robert Loehning
Jul 15, 2010
Browse files
Fix crash on clicking in compile output
parent
911e268b
Changes
1
Show whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/outputwindow.cpp
View file @
2b3db205
...
...
@@ -355,6 +355,7 @@ OutputWindow::OutputWindow(QWidget *parent)
:
QPlainTextEdit
(
parent
)
,
m_enforceNewline
(
false
)
,
m_scrollToBottom
(
false
)
,
m_formatter
(
0
)
{
setVerticalScrollBarPolicy
(
Qt
::
ScrollBarAlwaysOn
);
//setCenterOnScroll(false);
...
...
@@ -558,17 +559,20 @@ void OutputWindow::enableUndoRedo()
void
OutputWindow
::
mousePressEvent
(
QMouseEvent
*
e
)
{
QPlainTextEdit
::
mousePressEvent
(
e
);
if
(
m_formatter
)
m_formatter
->
mousePressEvent
(
e
);
}
void
OutputWindow
::
mouseReleaseEvent
(
QMouseEvent
*
e
)
{
QPlainTextEdit
::
mouseReleaseEvent
(
e
);
if
(
m_formatter
)
m_formatter
->
mouseReleaseEvent
(
e
);
}
void
OutputWindow
::
mouseMoveEvent
(
QMouseEvent
*
e
)
{
QPlainTextEdit
::
mouseMoveEvent
(
e
);
if
(
m_formatter
)
m_formatter
->
mouseMoveEvent
(
e
);
}
Write
Preview
Supports
Markdown
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