File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,6 +116,9 @@ const QString COperateSSH::Description()
116116 szDescription += tr (" Server address: " ) + sshNet.GetHost ()
117117 + " :" + QString::number (sshNet.GetPort ()) + " \n " ;
118118
119+ if (GetSecurityLevel () != SecurityLevel::No)
120+ szDescription += tr (" Security level: " ) + GetSecurityLevelString () + " \n " ;
121+
119122 if (!GetPlugin ()->Description ().isEmpty ())
120123 szDescription += tr (" Description: " ) + GetPlugin ()->Description ();
121124
Original file line number Diff line number Diff line change @@ -183,11 +183,9 @@ const QString COperateTelnet::Description()
183183 if (!net.GetHost ().isEmpty ())
184184 szDescription += tr (" Server address: " ) + net.GetHost ()
185185 + " :" + QString::number (net.GetPort ()) + " \n " ;
186- else {
187- szDescription += tr (" Shell path: " ) + m_Parameters.GetShell () + " \n " ;
188- if (!m_Parameters.GetShellParameters ().isEmpty ())
189- szDescription += tr (" Shell parameters: " ) + m_Parameters.GetShellParameters () + " \n " ;
190- }
186+
187+ if (GetSecurityLevel () != SecurityLevel::No)
188+ szDescription += tr (" Security level: " ) + GetSecurityLevelString () + " \n " ;
191189
192190 if (!GetPlugin ()->Description ().isEmpty ())
193191 szDescription += tr (" Description: " ) + GetPlugin ()->Description ();
Original file line number Diff line number Diff line change @@ -60,6 +60,10 @@ const QString COperate::Description()
6060#endif
6161 szDescription += " \n " ;
6262 }
63+
64+ if (GetSecurityLevel () != SecurityLevel::No)
65+ szDescription += tr (" Security level: " ) + GetSecurityLevelString () + " \n " ;
66+
6367 szDescription += tr (" Description: " ) + GetPlugin ()->Description ();
6468 return szDescription;
6569}
Original file line number Diff line number Diff line change @@ -149,6 +149,9 @@ const QString COperateDesktop::Description()
149149 szDescription += szProxy + " \n " ;
150150 }
151151
152+ if (GetSecurityLevel () != SecurityLevel::No)
153+ szDescription += tr (" Security level: " ) + GetSecurityLevelString () + " \n " ;
154+
152155 if (!GetPlugin ()->Description ().isEmpty ())
153156 szDescription += tr (" Description: " ) + GetPlugin ()->Description ();
154157
Original file line number Diff line number Diff line change @@ -97,11 +97,14 @@ const QString COperateTerminal::Description()
9797#endif
9898 szDescription += " \n " ;
9999 }
100-
100+
101101 szDescription += tr (" Shell path: " ) + GetParameter ()->GetShell () + " \n " ;
102102 if (!GetParameter ()->GetShellParameters ().isEmpty ())
103103 szDescription += tr (" Shell parameters: " ) + GetParameter ()->GetShellParameters () + " \n " ;
104-
104+
105+ if (GetSecurityLevel () != SecurityLevel::No)
106+ szDescription += tr (" Security level: " ) + GetSecurityLevelString () + " \n " ;
107+
105108 if (!GetPlugin ()->Description ().isEmpty ())
106109 szDescription += tr (" Description: " ) + GetPlugin ()->Description ();
107110
You can’t perform that action at this time.
0 commit comments