summaryrefslogtreecommitdiffstats
path: root/katapult/common/cachedcatalog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'katapult/common/cachedcatalog.cpp')
-rw-r--r--katapult/common/cachedcatalog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/katapult/common/cachedcatalog.cpp b/katapult/common/cachedcatalog.cpp
index 19c15a9..07824a6 100644
--- a/katapult/common/cachedcatalog.cpp
+++ b/katapult/common/cachedcatalog.cpp
@@ -46,7 +46,7 @@ unsigned int CachedCatalog::minQueryLen() const
void CachedCatalog::queryChanged()
{
- int newtqStatus = 0;
+ int newStatus = 0;
if(query() == "")
{
results.clear();
@@ -87,19 +87,19 @@ void CachedCatalog::queryChanged()
}
}
- newtqStatus |= S_Active;
+ newStatus |= S_Active;
if(results.count() > 0)
{
- newtqStatus |= S_HasResults;
+ newStatus |= S_HasResults;
if(results.count() > 1)
- newtqStatus |= S_Multiple;
+ newStatus |= S_Multiple;
} else
- newtqStatus |= S_NoResults;
+ newStatus |= S_NoResults;
setBestMatch(newBestMatch);
}
}
- settqStatus(newtqStatus);
+ setStatus(newStatus);
}
Match CachedCatalog::queryItem(const KatapultItem *item, TQString query) const