diff -r 3492af261af2 -r a784c102bbed main.cpp --- a/main.cpp Tue Apr 11 14:34:14 2006 +0000 +++ b/main.cpp Mon Jul 31 12:13:53 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/";