got rid of accesses to global config through getMainConfig()
This commit is contained in:
@@ -302,5 +302,5 @@ void RecollProtocol::htmlDoSearch(const QueryDesc& qd)
|
||||
m_pager.resultPageBack();
|
||||
}
|
||||
// Display
|
||||
m_pager.displayPage();
|
||||
m_pager.displayPage(o_rclconfig);
|
||||
}
|
||||
|
||||
@@ -53,11 +53,6 @@ using namespace KIO;
|
||||
|
||||
RclConfig *RecollProtocol::o_rclconfig;
|
||||
|
||||
RclConfig *RclConfig::getMainConfig()
|
||||
{
|
||||
return RecollProtocol::o_rclconfig;
|
||||
}
|
||||
|
||||
RecollProtocol::RecollProtocol(const QByteArray &pool, const QByteArray &app)
|
||||
: SlaveBase("recoll", pool, app), m_initok(false), m_rcldb(0),
|
||||
m_alwaysdir(false)
|
||||
|
||||
Reference in New Issue
Block a user