Uninline Toplevel::pid()
It's only used from one method and requires to have NETWinInfo being included in the header.
This commit is contained in:
parent
94470f1ea2
commit
67b59f693c
2 changed files with 5 additions and 5 deletions
|
@ -487,6 +487,11 @@ void Toplevel::elevate(bool elevate)
|
||||||
effectWindow()->elevate(elevate);
|
effectWindow()->elevate(elevate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pid_t Toplevel::pid() const
|
||||||
|
{
|
||||||
|
return info->pid();
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
#include "toplevel.moc"
|
#include "toplevel.moc"
|
||||||
|
|
|
@ -655,11 +655,6 @@ inline QByteArray Toplevel::windowRole() const
|
||||||
return window_role;
|
return window_role;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline pid_t Toplevel::pid() const
|
|
||||||
{
|
|
||||||
return info->pid();
|
|
||||||
}
|
|
||||||
|
|
||||||
inline bool Toplevel::unredirected() const
|
inline bool Toplevel::unredirected() const
|
||||||
{
|
{
|
||||||
return unredirect;
|
return unredirect;
|
||||||
|
|
Loading…
Reference in a new issue