fixed compilation

This commit is contained in:
csoler 2019-11-27 23:44:53 +01:00
parent c73bdb83cd
commit 6df71ef5f6
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -1157,9 +1157,10 @@ void RshareSettings::setWebinterfaceEnabled(bool enabled)
QString RshareSettings::getWebinterfaceFilesDirectory()
{
#ifdef WINDOWS_SYS
return valueFromGroup("Webinterface","directory","data/webui/").toString().toStdString();
#endif
return valueFromGroup("Webinterface","directory","data/webui/").toString();
#else
return valueFromGroup("Webinterface","directory","/usr/share/retroshare/webui/").toString();
#endif
}
void RshareSettings::setWebinterfaceFilesDirectory(const QString& s)