[akregator] [Bug 381929] Feeds list gets corrupted when akregator is restored on log in
Mark Gannon
bugzilla_noreply at kde.org
Sun Feb 11 14:24:26 GMT 2018
https://bugs.kde.org/show_bug.cgi?id=381929
--- Comment #24 from Mark Gannon <mark at truenorth.nu> ---
Sorry. Its been a long time since I did any c++. I tried changing to:
+ QScopedPointer<FeedList> f_list = m_mainWidget->allFeedsList();
+ if (f_list.isNull()) {
+ return;
+ }
+
And got the following error:
/var/tmp/portage/kde-apps/akregator-17.12.1/work/akregator-17.12.1/src/akregator_part.cpp:
In member function ‘void Akregator::Part::slotSaveFeedList()’:
/var/tmp/portage/kde-apps/akregator-17.12.1/work/akregator-17.12.1/src/akregator_part.cpp:529:65:
error: conversion from ‘QSharedPointer<Akregator::FeedList>’ to non-scalar type
‘QScopedPointer<Akregator::FeedList>’ requested
QScopedPointer<FeedList> f_list = m_mainWidget->allFeedsList();
~~~~~~~~~~~~~~~~~~~~~~~~~~^~
Perhaps I'm using it wrong?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list