mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Remove use of ToQStr to convert rdctype::str to QString
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user