GUI: possible end-slash mismatch in dir comparison would prevent enabling the real-time indexer config tool

This commit is contained in:
Jean-Francois Dockes 2016-04-11 18:40:13 +02:00
parent 80e3b6dcd6
commit d70b3cb4d2

View File

@ -120,6 +120,7 @@ bool RclConfig::isDefaultConfig() const
{
string defaultconf = path_cat(path_homedata(),
path_defaultrecollconfsubdir());
path_catslash(defaultconf);
string specifiedconf = path_canon(m_confdir);
path_catslash(specifiedconf);
return !defaultconf.compare(specifiedconf);