File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ const QString COperateFileTransfer::Name()
148148 }
149149 if (!pNet->GetHost ().isEmpty ()) {
150150 if (m_Parameter.GetGlobalParameters ()
151- && m_Parameter.GetGlobalParameters ()->GetShowProtocolPrefix () )
151+ && m_Parameter.GetGlobalParameters ()->GetNameStyles () == CParameterPlugin::NameStyle::Protocol )
152152 szName = Protocol () + " : " ;
153153 szName += pNet->GetHost ()
154154 + " :" + QString::number (pNet->GetPort ());
@@ -181,8 +181,13 @@ const QString COperateFileTransfer::Description()
181181 szDescription += tr (" Server address: " ) + net.GetHost ()
182182 + " :" + QString::number (net.GetPort ()) + " \n " ;
183183
184- if (GetSecurityLevel () != SecurityLevel::No)
185- szDescription += tr (" Security level: " ) + GetSecurityLevelString () + " \n " ;
184+ CSecurityLevel sl (GetSecurityLevel ());
185+ if (!(GetSecurityLevel () & CSecurityLevel::Level::No)) {
186+ szDescription += tr (" Security level: " );
187+ if (!sl.GetUnicodeIcon ().isEmpty ())
188+ szDescription += sl.GetUnicodeIcon () + " " ;
189+ szDescription += sl.GetString () + " \n " ;
190+ }
186191
187192 if (!GetPlugin ()->Description ().isEmpty ())
188193 szDescription += tr (" Description: " ) + GetPlugin ()->Description ();
You can’t perform that action at this time.
0 commit comments