Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Unmaintained
KDE Pim
Commits
1860e669
Commit
1860e669
authored
Aug 03, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor optimization
parent
2bf2e651
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
akregator/src/frame/framemanager.cpp
akregator/src/frame/framemanager.cpp
+3
-5
No files found.
akregator/src/frame/framemanager.cpp
View file @
1860e669
...
...
@@ -87,10 +87,7 @@ void FrameManager::slotRemoveFrame(int id)
{
Frame
*
frame
=
m_frames
.
value
(
id
);
if
(
!
frame
)
{
return
;
}
if
(
!
frame
->
isRemovable
())
{
if
(
!
frame
||
!
frame
->
isRemovable
())
{
return
;
}
frame
->
disconnect
(
this
);
...
...
@@ -278,7 +275,8 @@ void FrameManager::saveProperties(KConfigGroup &config)
QStringList
strlst
;
QString
newPrefix
;
QHash
<
int
,
Frame
*>::
const_iterator
i
;
for
(
i
=
m_frames
.
constBegin
();
i
!=
m_frames
.
constEnd
();
++
i
)
{
QHash
<
int
,
Frame
*>::
const_iterator
end
(
m_frames
.
constEnd
());
for
(
i
=
m_frames
.
constBegin
();
i
!=
end
;
++
i
)
{
// No need to save the main frame
if
(
i
.
value
()
&&
qobject_cast
<
WebEngineFrame
*>
(
i
.
value
()))
{
...
...
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