Skip to content

Commit

Permalink
fix: miss DPaletteHelper modified
Browse files Browse the repository at this point in the history
Log:
Change-Id: I3731803a787b46674d4869d115a302ebc54ba900
  • Loading branch information
deepin-mozart committed Apr 3, 2024
1 parent d8dfe53 commit 9d8987f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ void CodeCompletionDelegate::paintItemBackground(QPainter *painter, const QStyle

// draw background
if (option.widget) {
#ifndef DTKWIDGET_CLASS_DPaletteHelper
#ifdef DTKWIDGET_CLASS_DPaletteHelper
DPalette pl(DPaletteHelper::instance()->palette(option.widget));
#else
const DPalette &pl = DGuiApplicationHelper::instance()->applicationPalette();
Expand Down

0 comments on commit 9d8987f

Please sign in to comment.