Windows QPA: Remove unused function
Amends 983132212c7f3541a8c5fbaf4c5309d92345107f. Pick-to: 5.15 Task-number: QTBUG-86575 Task-number: QTBUG-85676 Change-Id: Id2ea85738a2565ec0d9f33ccb264c11754e1e5ff Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
parent
a16803d3e4
commit
ada01394dd
@ -76,16 +76,6 @@ private:
|
||||
const wchar_t *m_path;
|
||||
};
|
||||
|
||||
static quintptr runShellExecute(const wchar_t *path)
|
||||
{
|
||||
HINSTANCE result = nullptr;
|
||||
if (SUCCEEDED(CoInitializeEx(NULL, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE))) {
|
||||
result = ShellExecute(nullptr, nullptr, path, nullptr, nullptr, SW_SHOWNORMAL);
|
||||
CoUninitialize();
|
||||
}
|
||||
return reinterpret_cast<quintptr>(result);
|
||||
}
|
||||
|
||||
static inline bool shellExecute(const QUrl &url)
|
||||
{
|
||||
const QString nativeFilePath = url.isLocalFile() && !url.hasFragment() && !url.hasQuery()
|
||||
|
Loading…
x
Reference in New Issue
Block a user