GUI: possible end-slash mismatch in dir comparison would prevent enabling the real-time indexer config tool
This commit is contained in:
@@ -120,6 +120,7 @@ bool RclConfig::isDefaultConfig() const
|
|||||||
{
|
{
|
||||||
string defaultconf = path_cat(path_homedata(),
|
string defaultconf = path_cat(path_homedata(),
|
||||||
path_defaultrecollconfsubdir());
|
path_defaultrecollconfsubdir());
|
||||||
|
path_catslash(defaultconf);
|
||||||
string specifiedconf = path_canon(m_confdir);
|
string specifiedconf = path_canon(m_confdir);
|
||||||
path_catslash(specifiedconf);
|
path_catslash(specifiedconf);
|
||||||
return !defaultconf.compare(specifiedconf);
|
return !defaultconf.compare(specifiedconf);
|
||||||
|
|||||||
Reference in New Issue
Block a user