diff options
| author | 2008-05-22 18:38:41 +0000 | |
|---|---|---|
| committer | 2008-05-22 18:38:41 +0000 | |
| commit | 93b866f75997694f2ae3714260343807dec86c23 (patch) | |
| tree | 9db5e01ceb733e3681e75419e897362b337baf21 /src/modules/options/optw_identity.cpp | |
| parent | compilation fix (diff) | |
| download | KVIrc-93b866f75997694f2ae3714260343807dec86c23.tar.gz KVIrc-93b866f75997694f2ae3714260343807dec86c23.tar.bz2 KVIrc-93b866f75997694f2ae3714260343807dec86c23.zip | |
more qt4 port
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1842 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/options/optw_identity.cpp')
| -rw-r--r-- | src/modules/options/optw_identity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/options/optw_identity.cpp b/src/modules/options/optw_identity.cpp index 649663da6..f6c1a9045 100644 --- a/src/modules/options/optw_identity.cpp +++ b/src/modules/options/optw_identity.cpp @@ -584,13 +584,13 @@ void KviIdentityAvatarOptionsWidget::chooseAvatar() { // local path, loaded QString tmp = szCurrent; - int idx = tmp.findRev("/"); + int idx = tmp.lastIndexOf("/"); if(idx != -1) { szCurrent = tmp.right(tmp.length() - (idx + 1)); tmp = szCurrent; } - idx = tmp.findRev("\\"); + idx = tmp.lastIndexOf("\\"); if(idx != -1) { szCurrent = tmp.right(tmp.length() - (idx + 1)); |
