aboutsummaryrefslogtreecommitdiff
path: root/c/datalistview.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-30 00:23:51 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-30 00:23:51 +0200
commit8e7ce9d430b439995ceddca2c4fb9e24ed323d3a (patch)
tree15c6b856e304db5c097cf67f52f85160adce82e9 /c/datalistview.cpp
parentbabbd4c9c26d997683280ac663e03b04910b2826 (diff)
downloadEpisodeBrowser-8e7ce9d430b439995ceddca2c4fb9e24ed323d3a.tar.gz
Add non-throwing variants of Query methods.
Pl has also been refactored, so that the unnecessary throw and catch have been removed.
Diffstat (limited to 'c/datalistview.cpp')
-rw-r--r--c/datalistview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/datalistview.cpp b/c/datalistview.cpp
index fd37791..ea68f2d 100644
--- a/c/datalistview.cpp
+++ b/c/datalistview.cpp
@@ -53,7 +53,7 @@ void DataListView::ShowEpisode(const int iEpisode)
LVITEM lviKey = {LVIF_TEXT};
LVITEM lviValue = {LVIF_TEXT};
- for (int i = 0; q.NextSolution(); i++) {
+ for (int i = 0; q.NextSolution(std::nothrow); i++) {
std::wstring wsKey;
std::wstring wsValue;