|
a/src/qtgui/advsearch_w.cpp |
|
b/src/qtgui/advsearch_w.cpp |
|
... |
|
... |
291 |
noFiltypsLB->insertItems(0, m_ignTypes);
|
291 |
noFiltypsLB->insertItems(0, m_ignTypes);
|
292 |
|
292 |
|
293 |
QStringList ql;
|
293 |
QStringList ql;
|
294 |
if (m_ignByCats == false) {
|
294 |
if (m_ignByCats == false) {
|
295 |
vector<string> types = theconfig->getAllMimeTypes();
|
295 |
vector<string> types = theconfig->getAllMimeTypes();
|
|
|
296 |
rcldb->getAllDbMimeTypes(types);
|
|
|
297 |
sort(types.begin(), types.end());
|
|
|
298 |
types.erase(unique(types.begin(), types.end()), types.end());
|
296 |
for (vector<string>::iterator it = types.begin();
|
299 |
for (vector<string>::iterator it = types.begin();
|
297 |
it != types.end(); it++) {
|
300 |
it != types.end(); it++) {
|
298 |
QString qs = QString::fromUtf8(it->c_str());
|
301 |
QString qs = QString::fromUtf8(it->c_str());
|
299 |
if (m_ignTypes.indexOf(qs) < 0)
|
302 |
if (m_ignTypes.indexOf(qs) < 0)
|
300 |
ql.append(qs);
|
303 |
ql.append(qs);
|