Manager: Fix UUID generation for manager config headers

Fix different UUIDs generating depending on the whether the path
is absolute or relative; they now always match the ones saved
inside .cfg files
Also reduce some code duplication
This commit is contained in:
Alexander Babikov
2025-07-28 20:25:20 +05:00
parent 494a24a3ae
commit dca59145f6
3 changed files with 13 additions and 12 deletions

View File

@@ -18,6 +18,7 @@ QScreen *screenOfWidget(QWidget *widget);
void setWin11RoundedCorners(WId hwnd, bool enable);
#endif
QString currentUuid();
QString generateUuid(const QString &path);
void storeCurrentUuid();
bool compareUuid();
void generateNewMacAdresses();