comparison src/mainwindow.cpp @ 565:c2e212ab0068

Make it possible to set an empty remote URL, fixing #357
author Chris Cannam
date Wed, 29 Feb 2012 10:38:28 +0000
parents 39cac58b4f92
children 88ec0ae91dcc
comparison
equal deleted inserted replaced
564:39cac58b4f92 565:c2e212ab0068
287 QSettings s(hgrc.canonicalFilePath(), QSettings::IniFormat); 287 QSettings s(hgrc.canonicalFilePath(), QSettings::IniFormat);
288 s.beginGroup("paths"); 288 s.beginGroup("paths");
289 path = s.value("default").toString(); 289 path = s.value("default").toString();
290 } 290 }
291 291
292 std::cerr << "hgQueryPaths: setting m_remoteRepoPath to " << m_remoteRepoPath << " from file " << hgrc.absoluteFilePath() << std::endl; 292 // std::cerr << "hgQueryPaths: setting m_remoteRepoPath to " << m_remoteRepoPath << " from file " << hgrc.absoluteFilePath() << std::endl;
293 293
294 m_remoteRepoPath = path; 294 m_remoteRepoPath = path;
295 295
296 // We have to do this here, because commandCompleted won't be called 296 // We have to do this here, because commandCompleted won't be called
297 MultiChoiceDialog::addRecentArgument("local", m_workFolderPath); 297 MultiChoiceDialog::addRecentArgument("local", m_workFolderPath);