Skip to content

Commit

Permalink
code improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
mhogomchungu committed Nov 9, 2022
1 parent e3783ea commit 5b2bc82
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/qcheckgmail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ void qCheckGMail::showToolTip( const QString& iconName,
{
if( subTitle.size() > 0 ){

QString m ;
QString m = "<table>" ;

auto iter = subTitle.begin() ;

Expand All @@ -148,12 +148,14 @@ void qCheckGMail::showToolTip( const QString& iconName,

if( e.success ){

m += "\n<b>" + e.txt + "</b>" ;
m += "<br><b>" + e.txt + "</b>" ;
}else{
m += "\n" + e.txt ;
m += "<br>" + e.txt ;
}
}

m += "</table>" ;

m_statusicon.setToolTip( iconName,title,m ) ;
}
}
Expand Down

0 comments on commit 5b2bc82

Please sign in to comment.