summaryrefslogtreecommitdiffstats
path: root/kvoctrain/kvoctrain/query-dialogs/MCQueryDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kvoctrain/kvoctrain/query-dialogs/MCQueryDlg.cpp')
-rw-r--r--kvoctrain/kvoctrain/query-dialogs/MCQueryDlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvoctrain/kvoctrain/query-dialogs/MCQueryDlg.cpp b/kvoctrain/kvoctrain/query-dialogs/MCQueryDlg.cpp
index ac4345a1..c3bda4e8 100644
--- a/kvoctrain/kvoctrain/query-dialogs/MCQueryDlg.cpp
+++ b/kvoctrain/kvoctrain/query-dialogs/MCQueryDlg.cpp
@@ -153,7 +153,7 @@ void MCQueryDlg::setQuery(TQString org,
solution = 0;
MultipleChoice mc = exp->getMultipleChoice(q_tcol);
- for (unsigned i = 0; i < QMIN(MAX_MULTIPLE_CHOICE, mc.size()); ++i)
+ for (unsigned i = 0; i < TQMIN(MAX_MULTIPLE_CHOICE, mc.size()); ++i)
strings.push_back(mc.mc(i));
std::random_shuffle(strings.begin(), strings.end());