Fix date column color after update the date
This commit is contained in:
@@ -4,8 +4,8 @@ greaterThan(QT_MAJOR_VERSION, 5): QT += widgets
|
|||||||
|
|
||||||
CONFIG += c++17
|
CONFIG += c++17
|
||||||
|
|
||||||
win32:VERSION = 0.2.0.0 # major.minor.patch.build
|
win32:VERSION = 0.2.1.0 # major.minor.patch.build
|
||||||
else:VERSION = 0.2.0 # major.minor.patch
|
else:VERSION = 0.2.1 # major.minor.patch
|
||||||
|
|
||||||
DEFINES += APP_VERSION=\"\\\"$${VERSION}\\\"\"
|
DEFINES += APP_VERSION=\"\\\"$${VERSION}\\\"\"
|
||||||
DEFINES += APP_NAME=\"\\\"TaskBoard\\\"\"
|
DEFINES += APP_NAME=\"\\\"TaskBoard\\\"\"
|
||||||
|
|||||||
@@ -556,6 +556,12 @@ void MainWindow::updateTaskRow(QTreeWidgetItem *item, Task t)
|
|||||||
fgColor.setStyle(Qt::BrushStyle::SolidPattern);
|
fgColor.setStyle(Qt::BrushStyle::SolidPattern);
|
||||||
item->setForeground(3, fgColor);
|
item->setForeground(3, fgColor);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
QBrush fgColor = item->foreground(3);
|
||||||
|
fgColor.setStyle(Qt::BrushStyle::NoBrush);
|
||||||
|
item->setForeground(3, fgColor);
|
||||||
|
}
|
||||||
|
|
||||||
if (!t.getStatusUUID().isEmpty())
|
if (!t.getStatusUUID().isEmpty())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user