Commit 7fda6d28 authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Code Style

parent c58058b2
......@@ -156,8 +156,9 @@ void DetachableTabBar::dragMoveEvent(QDragMoveEvent* event)
void DetachableTabBar::paintEvent(QPaintEvent *event)
{
QTabBar::paintEvent(event);
if (!event->isAccepted()) return; // Reduces repainting
if (!event->isAccepted()) {
return; // Reduces repainting
}
QPainter painter(this);
painter.setPen(Qt::NoPen);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment