Remove use of ToQStr to convert rdctype::str to QString

This commit is contained in:
baldurk
2017-08-18 14:13:22 +01:00
parent b637fe78de
commit 4c24b0f28f
26 changed files with 381 additions and 403 deletions
+2 -2
View File
@@ -93,7 +93,7 @@ QStringList ReplayManager::GetRemoteSupport()
rdctype::array<rdctype::str> supported = m_Remote->RemoteSupportedReplays();
for(rdctype::str &s : supported)
ret << ToQStr(s);
ret << s;
}
return ret;
@@ -172,7 +172,7 @@ QString ReplayManager::CopyCaptureToRemote(const QString &localpath, QWidget *wi
auto lambda = [this, localpath, &remotepath, &progress, &copied](IReplayController *r) {
QMutexLocker autolock(&m_RemoteLock);
remotepath = ToQStr(m_Remote->CopyCaptureToRemote(localpath.toUtf8().data(), &progress));
remotepath = m_Remote->CopyCaptureToRemote(localpath.toUtf8().data(), &progress);
copied = true;
};