refact: suppress warnings and standardize project

Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
ComixHe
2024-02-18 13:11:57 +08:00
committed by Comix
parent aca0531e85
commit 9d2cee79fe
14 changed files with 71 additions and 46 deletions

View File

@ -86,7 +86,6 @@ QStringList setUserLaunchOption::generateCommandLine() const noexcept
QString userName = destUser->pw_name;
ret.append(userName);
struct passwd *curUser = getpwuid(curUID);
ret.append("env");
ret.append("DISPLAY=:0");