Skip to content

Commit

Permalink
fix: color from color palette
Browse files Browse the repository at this point in the history
  • Loading branch information
BLumia committed Oct 24, 2019
1 parent 97986bc commit 4a60237
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# User files
*.user

# Binaries
build/
*.so
2 changes: 1 addition & 1 deletion datetimewidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ void DatetimeWidget::paintEvent(QPaintEvent *e)
}
}

painter.setPen(Qt::white);
painter.setPen(QPen(palette().brightText(), 1));
painter.drawText(rect(), Qt::AlignCenter, current.toString(format));
return;
}
Expand Down

0 comments on commit 4a60237

Please sign in to comment.