mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
Another attempt to fix copyed hotkeys by updating the identifier
* check on name OR id * remote keys not updated, but lenient check on local machine * Remark: Sometimes copied hotkeys d not work
This commit is contained in:
committed by
Mat Sutcliffe
parent
eb1427e55f
commit
d8a730302a
@@ -108,6 +108,9 @@ namespace BlackMisc
|
||||
//! Check if other identifier is from the same machine id
|
||||
bool hasSameMachineId(const CIdentifier &other) const;
|
||||
|
||||
//! Same machine or id?
|
||||
bool hasSameMachineNameOrId(const CIdentifier &other) const;
|
||||
|
||||
//! Get process id
|
||||
qint64 getProcessId() const {return m_processId;}
|
||||
|
||||
@@ -129,6 +132,12 @@ namespace BlackMisc
|
||||
//! Null identifier (no name, ids etc)
|
||||
bool isNull() const;
|
||||
|
||||
//! Update to current machine
|
||||
void updateToCurrentMachine();
|
||||
|
||||
//! Update to current process
|
||||
void updateToCurrentProcess();
|
||||
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user