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
KAddressBook
Commits
cb2e6ed7
Commit
cb2e6ed7
authored
Nov 04, 2020
by
Laurent Montel
😁
Browse files
typedef -> using
parent
c50e6b96
Pipeline
#39447
passed with stage
in 10 minutes and 46 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/importexport/contactfields.h
View file @
cb2e6ed7
...
...
@@ -82,7 +82,7 @@ public:
/**
* Defines a list of Field enums.
*/
typedef
QVector
<
Field
>
Fields
;
using
Fields
=
QVector
<
Field
>
;
/**
* Returns the i18n label for the @p field.
...
...
src/printing/detailled/detailledstyle.cpp
View file @
cb2e6ed7
...
...
@@ -29,7 +29,7 @@ static const char ContactHeaderForeColor[] = "ContactHeaderForeColor";
static
const
char
ContactHeaderBGColor
[]
=
"ContactHeaderBGColor"
;
struct
ContactBlock
{
typedef
QVector
<
ContactBlock
>
List
;
using
List
=
QVector
<
ContactBlock
>
;
QString
header
;
QStringList
entries
;
...
...
src/widgets/quicksearchwidget.cpp
View file @
cb2e6ed7
...
...
@@ -48,7 +48,7 @@ QuickSearchWidget::~QuickSearchWidget()
QSize
QuickSearchWidget
::
sizeHint
()
const
{
const
QSize
size
=
mEdit
->
sizeHint
();
return
QSize
(
200
,
size
.
height
()
)
;
return
{
200
,
size
.
height
()
}
;
}
void
QuickSearchWidget
::
slotFocusQuickSearch
()
...
...
Write
Preview
Supports
Markdown
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