Skip to content
Permalink
Browse files

nullptr statechanged in radarwidget

  • Loading branch information
ri
ri committed Nov 4, 2019
1 parent 7982230 commit df27f9227fd4724e2504ab8fd31e5ee535cf8348
Showing with 10 additions and 3 deletions.
  1. +1 −0 .gitignore
  2. +9 −3 ogl/RadarWidget.cpp
@@ -10,3 +10,4 @@ satviewer
/build/
/PVS-Studio/
analyze.*
.vscode/
@@ -258,9 +258,15 @@ void RadarWidget::paintEvent(QPaintEvent *event) {
}

void RadarWidget::onCurrentChanged(Satellite *sat, Location *loc, double *time) {
Q_UNUSED(sat);
Q_UNUSED(time);
setWindowTitle(loc->name());
if (sat != nullptr) {

}
if (loc != nullptr) {
setWindowTitle(loc->name());
}
if (time != nullptr) {

}
}

void RadarWidget::mouseMoveEvent(QMouseEvent *event) {

0 comments on commit df27f92

Please sign in to comment.
You can’t perform that action at this time.