master
an 2019-11-07 01:49:26 -05:00
parent d904117b79
commit 7f2a730dd5
2 changed files with 2 additions and 2 deletions

View File

@ -21,6 +21,8 @@
#include <utility>
#include <variant>
using namespace std::string_literals;
inline constexpr std::nullopt_t None{std::nullopt};
template<typename T>

View File

@ -59,8 +59,6 @@ bool Project::seekHistory(std::ptrdiff_t newPos) {
m_histPos = newPos;
qDebug() << "hist pos changed:" << m_histPos;
auto newPath = m_hist.at(newPos);
if(auto node = m_model->findPath(newPath)) {
if(auto dir = node->getDir()) {