mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-05-06 18:17:17 +02:00
Add betterbird support
This commit is contained in:
@@ -131,7 +131,8 @@ qint64 WindowCtrlUnix::getPpid() const
|
||||
*/
|
||||
bool WindowCtrlUnix::isThunderbird( qint64 pid ) const
|
||||
{
|
||||
return getProcessName( pid ).contains( "thunderbird", Qt::CaseInsensitive );
|
||||
return getProcessName( pid ).contains( "thunderbird", Qt::CaseInsensitive ) ||
|
||||
getProcessName( pid ).contains( "betterbird", Qt::CaseInsensitive );
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -127,7 +127,8 @@ qint64 WindowCtrlWin::getPpid() const
|
||||
*/
|
||||
bool WindowCtrlWin::isThunderbird( qint64 pid ) const
|
||||
{
|
||||
return getProcessName( pid ).contains( "thunderbird", Qt::CaseInsensitive );
|
||||
return getProcessName( pid ).contains( "thunderbird", Qt::CaseInsensitive ) ||
|
||||
getProcessName( pid ).contains( "betterbird", Qt::CaseInsensitive );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user