diff -r 3492af261af2 -r 08b3473cb7ab main.cpp --- a/main.cpp Tue Apr 11 14:34:14 2006 +0000 +++ b/main.cpp Thu Jul 13 08:40:03 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/";