Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Calendar Support
Commits
97bf4b95
Commit
97bf4b95
authored
Jun 18, 2021
by
Glen Ditchfield
🐛
Browse files
Merge branch 'release/21.04'
parents
5808246d
6f97d180
Pipeline
#66379
passed with stage
in 5 minutes and 45 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/printing/calprintdefaultplugins.cpp
View file @
97bf4b95
...
...
@@ -1175,7 +1175,7 @@ void CalPrintWeek::print(QPainter &p, int width, int height)
drawTimeTable
(
p
,
fromWeek
,
endLeft
,
false
,
mStartTime
,
mEndTime
,
weekBox
,
mIncludeDescription
,
mIncludeCategories
,
mExcludeTime
,
mExcludeConfidential
,
mExcludePrivate
);
if
(
mPrintFooter
)
{
drawFooter
(
p
,
week
Box
1
);
drawFooter
(
p
,
footer
Box
);
}
mPrinter
->
newPage
();
drawSplitHeaderRight
(
p
,
fromWeek
,
curWeek
,
QDate
(),
width
,
hh
);
...
...
src/printing/calprintpluginbase.cpp
View file @
97bf4b95
...
...
@@ -2226,7 +2226,7 @@ void CalPrintPluginBase::drawSplitHeaderRight(QPainter &p, QDate fd, QDate td, Q
}
title
+=
QString
::
number
(
fd
.
year
());
p
.
drawText
(
0
,
lineSpacing
,
width
,
lineSpacing
,
Qt
::
AlignRight
|
Qt
::
AlignTop
,
title
);
p
.
drawText
(
0
,
lineSpacing
+
padding
()
,
width
,
lineSpacing
,
Qt
::
AlignRight
|
Qt
::
AlignTop
,
title
);
p
.
setFont
(
oldFont
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment