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
Valentin Platzgummer
qgroundcontrol
Commits
311a82ae
Commit
311a82ae
authored
Oct 13, 2013
by
John Tapsell
Browse files
Fix stupid small compilation mistakes that I made in the last merge
parent
d403e613
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/ui/designer/QGCToolWidget.cc
View file @
311a82ae
...
...
@@ -578,6 +578,11 @@ void QGCToolWidget::addLabel()
{
QGCTextLabel
*
label
=
new
QGCTextLabel
(
this
);
connect
(
label
,
SIGNAL
(
destroyed
()),
this
,
SLOT
(
storeSettings
()));
if
(
ui
->
hintLabel
)
{
ui
->
hintLabel
->
deleteLater
();
ui
->
hintLabel
=
NULL
;
}
toolLayout
->
addWidget
(
label
);
label
->
startEditMode
();
}
...
...
src/ui/designer/QGCToolWidget.h
View file @
311a82ae
...
...
@@ -95,7 +95,7 @@ protected:
void
hideEvent
(
QHideEvent
*
event
);
public
slots
:
void
setTitle
(
QString
title
);
void
setTitle
(
const
QString
&
title
);
void
addParam
(
int
uas
,
int
component
,
QString
paramname
,
QVariant
value
);
protected
slots
:
void
addParam
();
...
...
@@ -103,9 +103,6 @@ protected slots:
void
addLabel
();
void
setTitle
();
void
setWindowTitle
(
const
QString
&
title
);
private:
Ui
::
QGCToolWidget
*
ui
;
};
...
...
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