From e9bebfe788e5bedb56d005f54f94651397c6cc23 Mon Sep 17 00:00:00 2001 From: tuckerrrrrrrrrrrr Date: Sun, 16 Feb 2020 10:27:37 -0800 Subject: [PATCH] clean up setting tab line color --- src/widgets/helper/NotebookTab.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/widgets/helper/NotebookTab.cpp b/src/widgets/helper/NotebookTab.cpp index b2f9c44b7..d70d7e42e 100644 --- a/src/widgets/helper/NotebookTab.cpp +++ b/src/widgets/helper/NotebookTab.cpp @@ -332,9 +332,7 @@ void NotebookTab::paintEvent(QPaintEvent *) { auto col = *this->highlightColor_.get(); col.setAlpha(255); - colors.line.regular = col; - colors.line.hover = col; - colors.line.unfocused = col; + colors.line = {col, col, col}; } // top line