a/src/qtgui/reslist.cpp b/src/qtgui/reslist.cpp
...
...
156
}
156
}
157
157
158
string QtGuiResListPager::iconPath(const string& mtype)
158
string QtGuiResListPager::iconPath(const string& mtype)
159
{
159
{
160
    string iconpath;
160
    string iconpath;
161
    rclconfig->getMimeIconName(mtype, &iconpath);
161
    theconfig->getMimeIconName(mtype, &iconpath);
162
    return iconpath;
162
    return iconpath;
163
}
163
}
164
164
165
void QtGuiResListPager::suggest(const vector<string>uterms, vector<string>&sugg)
165
void QtGuiResListPager::suggest(const vector<string>uterms, vector<string>&sugg)
166
{
166
{
167
    sugg.clear();
167
    sugg.clear();
168
#ifdef RCL_USE_ASPELL
168
#ifdef RCL_USE_ASPELL
169
    bool noaspell = false;
169
    bool noaspell = false;
170
    rclconfig->getConfParam("noaspell", &noaspell);
170
    theconfig->getConfParam("noaspell", &noaspell);
171
    if (noaspell)
171
    if (noaspell)
172
        return;
172
        return;
173
    if (!aspell) {
173
    if (!aspell) {
174
        LOGERR(("QtGuiResListPager:: aspell not initialized\n"));
174
        LOGERR(("QtGuiResListPager:: aspell not initialized\n"));
175
        return;
175
        return;
...
...
522
522
523
void ResList::displayPage()
523
void ResList::displayPage()
524
{
524
{
525
    m_pageParaToReldocnums.clear();
525
    m_pageParaToReldocnums.clear();
526
    clear();
526
    clear();
527
    m_pager->displayPage(rclconfig);
527
    m_pager->displayPage(theconfig);
528
    LOGDEB0(("ResList::resultPageNext: hasNext %d hasPrev %d\n",
528
    LOGDEB0(("ResList::resultPageNext: hasNext %d hasPrev %d\n",
529
        m_pager->hasPrev(), m_pager->hasNext()));
529
        m_pager->hasPrev(), m_pager->hasNext()));
530
    emit prevPageAvailable(m_pager->hasPrev());
530
    emit prevPageAvailable(m_pager->hasPrev());
531
    emit nextPageAvailable(m_pager->hasNext());
531
    emit nextPageAvailable(m_pager->hasNext());
532
    // Possibly color paragraph of current preview if any
532
    // Possibly color paragraph of current preview if any