Fixed invalid exception pointer usage - fixes #165.
This commit is contained in:
parent
5fba019235
commit
eb966d6d84
3 changed files with 3 additions and 3 deletions
|
@ -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.
|
// Now we obtained maximum of information for title & description.
|
||||||
if (title.isEmpty() && summary.isEmpty()) {
|
if (title.isEmpty() && summary.isEmpty()) {
|
||||||
// BOTH title and description are empty, skip this message.
|
// 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.
|
// 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_title.isEmpty()) {
|
||||||
if (elem_description.isEmpty()) {
|
if (elem_description.isEmpty()) {
|
||||||
// BOTH title and description are empty, skip this message.
|
// 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 {
|
else {
|
||||||
// Title is empty but description is not.
|
// Title is empty but description is not.
|
||||||
|
|
Loading…
Add table
Reference in a new issue