Fixed invalid exception pointer usage - fixes #165.
This commit is contained in:
parent
5fba019235
commit
eb966d6d84
@ -1 +1 @@
|
||||
Subproject commit ae7084718c41afc01919779e58cd449e0eebd401
|
||||
Subproject commit 4a01edaec7d67d3b2ae81aeea2a3c876216fbab8
|
@ -52,7 +52,7 @@ Message AtomParser::extractMessage(const QDomElement& msg_element, QDateTime cur
|
||||
// Now we obtained maximum of information for title & description.
|
||||
if (title.isEmpty() && summary.isEmpty()) {
|
||||
// BOTH title and description are empty, skip this message.
|
||||
throw new ApplicationException(QSL("Not enough data for the message."));
|
||||
throw ApplicationException(QSL("Not enough data for the message."));
|
||||
}
|
||||
|
||||
// Title is not empty, description does not matter.
|
||||
|
@ -42,7 +42,7 @@ Message RssParser::extractMessage(const QDomElement& msg_element, QDateTime curr
|
||||
if (elem_title.isEmpty()) {
|
||||
if (elem_description.isEmpty()) {
|
||||
// BOTH title and description are empty, skip this message.
|
||||
throw new ApplicationException(QSL("Not enough data for the message."));
|
||||
throw ApplicationException(QSL("Not enough data for the message."));
|
||||
}
|
||||
else {
|
||||
// Title is empty but description is not.
|
||||
|
Loading…
x
Reference in New Issue
Block a user