diff -r 3492af261af2 -r 4e11661e039d main.cpp --- a/main.cpp Tue Apr 11 14:34:14 2006 +0000 +++ b/main.cpp Wed May 31 12:36:13 2006 +0000 @@ -158,8 +158,6 @@ } // Use /usr/share/vym or /usr/local/share/vym or . ? - QDir vymBaseDir; - // First try options if (options.isOn ("local")) { @@ -174,9 +172,11 @@ { vymBaseDir.setPath ("/usr/share/vym"); if (!vymBaseDir.exists()) + { vymBaseDir.setPath ("/usr/local/share/vym"); - if (!vymBaseDir.exists()) - vymBaseDir.setPath(vymBaseDir.currentDirPath() ); + if (!vymBaseDir.exists()) + vymBaseDir.setPath(vymBaseDir.currentDirPath() ); + } } iconPath=vymBaseDir.path()+"/icons/";