mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kdesudo: assign KdeSudo::m_tmpName member to the temporary filepath, not a variable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
79bb1f47d8
commit
4b95471273
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ KdeSudo::KdeSudo(const QString &icon, const QString &appname) :
|
|||
// set the environment variables to reflect that.
|
||||
// Default cookie-timeout is 60 sec. .
|
||||
// 'man xauth' for more info on xauth cookies.
|
||||
QString m_tmpName = KTemporaryFile::filePath("/tmp/kdesudo-XXXXXXXXXX-xauth");
|
||||
m_tmpName = KTemporaryFile::filePath("/tmp/kdesudo-XXXXXXXXXX-xauth");
|
||||
|
||||
QByteArray disp = m_pCookie->display();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue