Skip to content

Commit

Permalink
fixed default palette
Browse files Browse the repository at this point in the history
  • Loading branch information
trialuser02 committed Mar 12, 2023
1 parent f2ea180 commit 50affaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qt6ct-qtplugin/qt6ctplatformtheme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ QPlatformDialogHelper *Qt6CTPlatformTheme::createPlatformDialogHelper(DialogType

const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette type) const
{
return (m_usePalette && m_palette) ? m_palette : QGenericUnixTheme::palette(type);
Q_UNUSED(type);
return (m_usePalette && m_palette) ? m_palette : nullptr;
}

const QFont *Qt6CTPlatformTheme::font(QPlatformTheme::Font type) const
Expand Down

0 comments on commit 50affaf

Please sign in to comment.