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
5cf1aaf6
Commit
5cf1aaf6
authored
Sep 29, 2010
by
Daniel Molkentin
Browse files
Fix compilation and initialization compile warnings.
Reviewed-by: Alessandro Portale
parent
b87f0bfd
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmljseditor/qmljseditor.cpp
View file @
5cf1aaf6
...
...
@@ -680,8 +680,8 @@ QmlJSTextEditor::QmlJSTextEditor(QWidget *parent) :
m_modelManager
(
0
),
m_contextPane
(
0
),
m_updateSelectedElements
(
false
),
m_
findReferences
(
new
FindReferences
(
this
)
),
m_
toolTipPosition
(
0
)
m_
toolTipPosition
(
0
),
m_
findReferences
(
new
FindReferences
(
this
)
)
{
qRegisterMetaType
<
QmlJSEditor
::
Internal
::
SemanticInfo
>
(
"QmlJSEditor::Internal::SemanticInfo"
);
...
...
@@ -728,10 +728,10 @@ QmlJSTextEditor::QmlJSTextEditor(QWidget *parent) :
m_cursorPositionTimer
->
setSingleShot
(
true
);
connect
(
m_cursorPositionTimer
,
SIGNAL
(
timeout
()),
this
,
SLOT
(
updateCursorPositionNow
()));
m_
T
oolTipTimer
=
new
QTimer
(
this
);
m_
T
oolTipTimer
->
setInterval
(
TOOLTIP_TIMER_INTERVAL
);
m_
T
oolTipTimer
->
setSingleShot
(
true
);
connect
(
m_
T
oolTipTimer
,
SIGNAL
(
timeout
()),
this
,
SLOT
(
updateToolTipNow
()));
m_
t
oolTipTimer
=
new
QTimer
(
this
);
m_
t
oolTipTimer
->
setInterval
(
TOOLTIP_TIMER_INTERVAL
);
m_
t
oolTipTimer
->
setSingleShot
(
true
);
connect
(
m_
t
oolTipTimer
,
SIGNAL
(
timeout
()),
this
,
SLOT
(
updateToolTipNow
()));
baseTextDocument
()
->
setSyntaxHighlighter
(
new
Highlighter
(
document
()));
...
...
@@ -1473,7 +1473,7 @@ void QmlJSTextEditor::onTooltipRequested(TextEditor::ITextEditor* /* editor */,
{
m_toolTipPosition
=
position
;
if
(
m_contextPane
)
{
m_
T
oolTipTimer
->
start
();
m_
t
oolTipTimer
->
start
();
}
}
...
...
src/plugins/qmljseditor/qmljseditor.h
View file @
5cf1aaf6
...
...
@@ -318,8 +318,8 @@ private:
QTimer
*
m_semanticRehighlightTimer
;
QTimer
*
m_updateOutlineTimer
;
QTimer
*
m_updateOutlineIndexTimer
;
QTimer
*
m_cursorPositionTimer
;
QTimer
*
m_toolTipTimer
;
QTimer
*
m_cursorPositionTimer
;
QComboBox
*
m_outlineCombo
;
QmlOutlineModel
*
m_outlineModel
;
QModelIndex
m_outlineModelIndex
;
...
...
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