We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff5d705 commit 36dbc07Copy full SHA for 36dbc07
src/robomongo/core/settings/SettingsManager.cpp
@@ -721,17 +721,17 @@ namespace Robomongo
721
QString extractAnonymousID(QString const& oldConfigFilePath)
722
{
723
if (!QFile::exists(oldConfigFilePath))
724
- return false;
+ return QString("");
725
726
QFile oldConfigFile(oldConfigFilePath);
727
if (!oldConfigFile.open(QIODevice::ReadOnly))
728
729
730
bool ok = false;
731
QJson::Parser parser;
732
QVariantMap const& map = parser.parse(oldConfigFile.readAll(), &ok).toMap();
733
if (!ok)
734
735
736
QString anonymousID;
737
if (map.contains("anonymousID")) {
0 commit comments