diff --git a/src/qtgui/idxmodel.cpp b/src/qtgui/idxmodel.cpp index a136c245..fb85dd04 100644 --- a/src/qtgui/idxmodel.cpp +++ b/src/qtgui/idxmodel.cpp @@ -107,7 +107,7 @@ static void treelist(const std::string& top, const std::vector& lst } std::vector curpath; stringToTokens(top, curpath, "/"); - std::cerr << "top " << top << " TOP len is " << curpath.size() << "\n"; + //std::cerr << "top " << top << " TOP len is " << curpath.size() << "\n"; for (const auto& dir : lst) { // std::cerr << "DIR: " << dir << "\n"; std::vector npath; @@ -128,7 +128,7 @@ static void treelist(const std::string& top, const std::vector& lst } // Callbacks for new entries above the base. for (int j = i; j < int(npath.size()); j++) { - std::cerr << "Entering " << toksToPath(npath, j) << "\n"; + //std::cerr << "Entering " << toksToPath(npath, j) << "\n"; cb.processone(toksToPath(npath, j), nullptr, FsTreeWalker::FtwDirEnter); } curpath.swap(npath); diff --git a/src/qtgui/rclmain_w.cpp b/src/qtgui/rclmain_w.cpp index 8c2152c4..81f41044 100644 --- a/src/qtgui/rclmain_w.cpp +++ b/src/qtgui/rclmain_w.cpp @@ -1159,9 +1159,7 @@ void RclMain::setUIPrefs() if (!uiprefs) return; LOGDEB("Recollmain::setUIPrefs\n"); - if (nullptr != m_idxtreemodel && m_idxtreemodel->getDepth() != prefs.idxFilterTreeDepth) { - populateSideFilters(); - } + populateSideFilters(); emit uiPrefsChanged(); enbSynAction->setDisabled(prefs.synFile.isEmpty()); enbSynAction->setChecked(prefs.synFileEnable);