Changeset 4579
- Timestamp:
- 08/20/06 22:33:41 (2 years ago)
- Files:
-
- 1 modified
-
trunk/qt-gui/src/ownermanagerdlg.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt-gui/src/ownermanagerdlg.cpp
r4576 r4579 132 132 if (!edtPassword->text().isEmpty()) 133 133 szPassword = edtPassword->text().latin1(); 134 const char *szProtocol = cmbProtocol->currentText().latin1();134 QString szProtocol = cmbProtocol->currentText(); 135 135 unsigned long nPPID = 0; 136 136 … … 140 140 for (it = pl.begin(); it != pl.end(); it++) 141 141 { 142 if (s trcmp(szProtocol, (*it)->Name()) == 0)142 if (szProtocol == QString((*it)->Name())) 143 143 { 144 144 nPPID = (*it)->PPID(); … … 150 150 if (nPPID == 0) 151 151 { 152 gLog.Error("%sInvalid protocol '%s'\n", L_ERRORxSTR, szProtocol );152 gLog.Error("%sInvalid protocol '%s'\n", L_ERRORxSTR, szProtocol.latin1()); 153 153 return; 154 154 }
