mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-21 11:54:15 +01:00
Indentation fix. Fixed copyright dates.
This commit is contained in:
parent
305d881724
commit
9de47330b5
@ -2,7 +2,7 @@
|
|||||||
******************************************************************************
|
******************************************************************************
|
||||||
*
|
*
|
||||||
* @file systemhealthgadgetwidget.cpp
|
* @file systemhealthgadgetwidget.cpp
|
||||||
* @author Edouard Lafargue Copyright (C) 2010.
|
* @author OpenPilot Team & Edouard Lafargue Copyright (C) 2012.
|
||||||
* @addtogroup GCSPlugins GCS Plugins
|
* @addtogroup GCSPlugins GCS Plugins
|
||||||
* @{
|
* @{
|
||||||
* @addtogroup SystemHealthPlugin System Health Plugin
|
* @addtogroup SystemHealthPlugin System Health Plugin
|
||||||
@ -206,7 +206,7 @@ void SystemHealthGadgetWidget::mousePressEvent ( QMouseEvent * event )
|
|||||||
QGraphicsSvgItem *clickedItem = dynamic_cast<QGraphicsSvgItem*>(sceneItem);
|
QGraphicsSvgItem *clickedItem = dynamic_cast<QGraphicsSvgItem*>(sceneItem);
|
||||||
|
|
||||||
if(clickedItem && (clickedItem != foreground) && clickedItem != background){
|
if(clickedItem && (clickedItem != foreground) && clickedItem != background){
|
||||||
QFile alarmDescription(":/systemhealth/html/" + clickedItem->elementId() + ".html");
|
QFile alarmDescription(":/systemhealth/html/" + clickedItem->elementId() + ".html");
|
||||||
if(alarmDescription.open(QIODevice::ReadOnly | QIODevice::Text)){
|
if(alarmDescription.open(QIODevice::ReadOnly | QIODevice::Text)){
|
||||||
QTextStream textStream(&alarmDescription);
|
QTextStream textStream(&alarmDescription);
|
||||||
QWhatsThis::showText(event->globalPos(), textStream.readAll());
|
QWhatsThis::showText(event->globalPos(), textStream.readAll());
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
******************************************************************************
|
******************************************************************************
|
||||||
*
|
*
|
||||||
* @file systemhealthgadgetwidget.h
|
* @file systemhealthgadgetwidget.h
|
||||||
* @author Edouard Lafargue Copyright (C) 2010.
|
* @author OpenPilot Team & Edouard Lafargue Copyright (C) 2012.
|
||||||
* @addtogroup GCSPlugins GCS Plugins
|
* @addtogroup GCSPlugins GCS Plugins
|
||||||
* @{
|
* @{
|
||||||
* @addtogroup SystemHealthPlugin System Health Plugin
|
* @addtogroup SystemHealthPlugin System Health Plugin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user