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
KMail
Commits
193cf809
Commit
193cf809
authored
Sep 28, 2021
by
Laurent Montel
😁
Browse files
Use std::unique_ptr directly
parent
3a41f765
Pipeline
#83285
passed with stage
in 25 minutes and 36 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/identity/encodedimagepicker.h
View file @
193cf809
...
...
@@ -11,7 +11,7 @@
#pragma once
#include <QGroupBox>
#include <memory>
class
KJob
;
namespace
Ui
...
...
@@ -47,6 +47,6 @@ private:
void
selectFromAddressBookDone
(
KJob
*
);
private:
QScopedPointe
r
<
Ui
::
EncodedImagePicker
>
mUi
;
std
::
unique_pt
r
<
Ui
::
EncodedImagePicker
>
mUi
;
};
}
// namespace KMail
src/identity/xfaceconfigurator.h
View file @
193cf809
/*
-*- c++ -*-
/*
xfaceconfigurator.cpp
KMail, the KDE mail client.
...
...
@@ -64,7 +64,7 @@ private Q_SLOTS:
void
pngquantFinished
(
int
,
QProcess
::
ExitStatus
);
private:
QScopedPointe
r
<
Ui
::
XFaceConfigurator
>
mUi
;
std
::
unique_pt
r
<
Ui
::
XFaceConfigurator
>
mUi
;
QProcess
*
const
mPngquantProc
;
};
}
// namespace KMail
...
...
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