Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
3be737b1
Commit
3be737b1
authored
May 19, 2013
by
Bryant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a couple of compilation warnings and removed some blank lines/dead code from QGCTextLabel.cc
parent
5a8d202a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
QGCTextLabel.cc
src/ui/designer/QGCTextLabel.cc
+3
-9
No files found.
src/ui/designer/QGCTextLabel.cc
View file @
3be737b1
...
...
@@ -33,8 +33,6 @@ QGCTextLabel::~QGCTextLabel()
delete
ui
;
}
void
QGCTextLabel
::
startEditMode
()
{
// Hide elements
...
...
@@ -122,14 +120,14 @@ void QGCTextLabel::readSettings(const QString& pre,const QVariantMap& settings)
//int commandId = settings.value(pre + "QGC_COMMAND_BUTTON_COMMANDID", 0).toInt();
//ui->editNameLabel->setText(settings.value(pre + "QGC_COMMAND_BUTTON_DESCRIPTION", "ERROR LOADING BUTTON").toString());
//ui->nameLabel->setText(settings.value(pre + "QGC_COMMAND_BUTTON_DESCRIPTION", "ERROR LOADING BUTTON").toString());
}
void
QGCTextLabel
::
textMessageReceived
(
int
uasid
,
int
component
,
int
severity
,
QString
message
)
{
Q_UNUSED
(
uasid
);
Q_UNUSED
(
component
);
Q_UNUSED
(
severity
);
if
(
enabledNum
!=
-
1
)
{
//SUCCESS: Executed CMD: 241
...
...
@@ -167,10 +165,6 @@ void QGCTextLabel::readSettings(const QSettings& settings)
ui
->
textLabel
->
setText
(
""
);
connect
(
uas
,
SIGNAL
(
textMessageReceived
(
int
,
int
,
int
,
QString
)),
this
,
SLOT
(
textMessageReceived
(
int
,
int
,
int
,
QString
)));
}
else
{
}
}
void
QGCTextLabel
::
enableText
(
int
num
)
{
...
...
Write
Preview
Markdown
is supported
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