forked from qt-creator/qt-creator
Terminal: Lazily open remote terminals
Move the burden of finding the shell of a device from the shell menu to the TerminalWidget, so that opening the shell menu does not block the ui. Change-Id: I7f2e5a891f20faa53a1e3eec879866219f9bee0b Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -85,14 +85,10 @@ public:
|
||||
CreateTerminalProcessInterface createTerminalProcessInterface;
|
||||
};
|
||||
|
||||
using GetTerminalCommandsForDevicesHook = Hook<QList<NameAndCommandLine>>;
|
||||
|
||||
public:
|
||||
static Hooks &instance();
|
||||
~Hooks();
|
||||
|
||||
GetTerminalCommandsForDevicesHook &getTerminalCommandsForDevicesHook();
|
||||
|
||||
void openTerminal(const OpenTerminalParameters ¶meters) const;
|
||||
ProcessInterface *createTerminalProcessInterface() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user