Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KOrganizer
Commits
3a4599c4
Commit
3a4599c4
authored
Aug 24, 2020
by
Laurent Montel
😁
Browse files
const'ify + modernize a little code + remove unused variable
parent
3c36fd13
Pipeline
#31599
failed with stage
in 33 minutes and 17 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/aboutdata.cpp
View file @
3a4599c4
...
...
@@ -23,7 +23,7 @@ AboutData::AboutData()
"Copyright © 2000–2004, 2007 Cornelius Schumacher
\n
"
"Copyright © 2004–2005 Reinhold Kainhofer
\n
"
"Copyright © 2006–2012 Allen Winter
\n
"
"Copyright © 2012–20
19
KOrganizer authors"
),
"Copyright © 2012–20
20
KOrganizer authors"
),
QString
(),
QStringLiteral
(
"https://userbase.kde.org/KOrganizer"
))
{
...
...
src/collectiongeneralpage.cpp
View file @
3a4599c4
...
...
@@ -33,11 +33,6 @@ using namespace CalendarSupport;
CollectionGeneralPage
::
CollectionGeneralPage
(
QWidget
*
parent
)
:
CollectionPropertiesPage
(
parent
)
,
mBlockAlarmsCheckBox
(
nullptr
)
,
mNameEdit
(
nullptr
)
,
mIconCheckBox
(
nullptr
)
,
mIconButton
(
nullptr
)
,
mIncidencesForComboBox
(
nullptr
)
{
setObjectName
(
QStringLiteral
(
"CalendarSupport::CollectionGeneralPage"
));
setPageTitle
(
i18nc
(
"@title:tab General settings for a folder."
,
"General"
));
...
...
src/koeventview.cpp
View file @
3a4599c4
...
...
@@ -26,7 +26,6 @@
KOEventView
::
KOEventView
(
QWidget
*
parent
)
:
KOrg
::
BaseView
(
parent
)
{
mReturnPressed
=
false
;
mTypeAhead
=
false
;
mTypeAheadReceiver
=
nullptr
;
...
...
src/koeventview.h
View file @
3a4599c4
...
...
@@ -152,12 +152,6 @@ private:
private:
/* When we receive a QEvent with a key_Return release
* we will only show a new event dialog if we previously received a
* key_Return press, otherwise a new event dialog appears when
* you hit return in some yes/no dialog */
bool
mReturnPressed
;
bool
mTypeAhead
;
QObject
*
mTypeAheadReceiver
=
nullptr
;
QList
<
QEvent
*>
mTypeAheadEvents
;
...
...
src/widgets/navigatorbar.cpp
View file @
3a4599c4
...
...
@@ -22,7 +22,7 @@ NavigatorBar::NavigatorBar(QWidget *parent) : QWidget(parent)
tfont
.
setPointSize
(
10
);
tfont
.
setBold
(
false
);
bool
isRTL
=
KOGlobals
::
self
()
->
reverseLayout
();
const
bool
isRTL
=
KOGlobals
::
self
()
->
reverseLayout
();
mPrevYear
=
createNavigationButton
(
isRTL
?
QStringLiteral
(
"arrow-right-double"
)
:
QStringLiteral
(
"arrow-left-double"
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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