Fix debug updateMessagePriority bug.
This commit is contained in:
@@ -85,9 +85,9 @@ TopBarWidget::TopBarWidget(QWidget *parent, Qt::WindowFlags f) : QWidget(parent,
|
|||||||
int d = (f<<i);
|
int d = (f<<i);
|
||||||
if (d & v){
|
if (d & v){
|
||||||
printf("warn %d, val:%d\r\n", i, v);
|
printf("warn %d, val:%d\r\n", i, v);
|
||||||
w->updateMessagePriority(i,1);
|
if (w)w->updateMessagePriority(i,1);
|
||||||
} else{
|
} else{
|
||||||
w->updateMessagePriority(i,-1);
|
if (w)w->updateMessagePriority(i,-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user