Add betterbird support

This commit is contained in:
Ximi1970
2023-10-20 23:25:39 +02:00
parent f9a9c2d2d9
commit f0d71ff1c5
2 changed files with 4 additions and 2 deletions

View File

@@ -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 );
}

View File

@@ -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 );
}