From 3327a4ac08288aa99914c962f4f9fd418798b188 Mon Sep 17 00:00:00 2001 From: tanyulong2021 Date: Tue, 2 Aug 2022 11:32:22 +0800 Subject: [PATCH] Correct typos error in headerbar.cpp --- src/headerbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/headerbar.cpp b/src/headerbar.cpp index d87a849..970cd2d 100644 --- a/src/headerbar.cpp +++ b/src/headerbar.cpp @@ -119,8 +119,8 @@ int HeaderBarStyle::pixelMetric(QStyle::PixelMetric metric, const QStyleOption * void HeaderBarStyle::drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget) const { - //This is a "lie". We want to use instant popup menu for tool button, and we aslo - //want use popup menu style with this tool button, so we change the related flags + //This is a "lie". We want to use instant popup menu for tool button, and we also + //want to use popup menu style with this tool button, so we change the related flags //to draw in our expected. if (control == CC_ToolButton) { QStyleOptionToolButton button = *qstyleoption_cast(option); -- 2.33.0