mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: convert git_info to std::string
Quite a bit of fallout in users of this structure. Conveniently, since git-access.cpp is now C++ we can move some helpers from the monstrous qthelper.cpp to git-access.cpp. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
ae299d5e66
commit
a123589efb
13 changed files with 290 additions and 319 deletions
|
@ -42,8 +42,8 @@ void TestParsePerformance::initTestCase()
|
|||
QNetworkProxy::setApplicationProxy(proxy);
|
||||
|
||||
// now cleanup the cache dir in case there's something weird from previous runs
|
||||
QString localCacheDir(get_local_dir(LARGE_TEST_REPO, "git"));
|
||||
QDir localCacheDirectory(localCacheDir);
|
||||
std::string localCacheDir = get_local_dir(LARGE_TEST_REPO, "git");
|
||||
QDir localCacheDirectory(localCacheDir.c_str());
|
||||
QCOMPARE(localCacheDirectory.removeRecursively(), true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue