1.1 --- a/main.cpp Tue Apr 11 14:34:14 2006 +0000
1.2 +++ b/main.cpp Wed May 31 12:36:13 2006 +0000
1.3 @@ -158,8 +158,6 @@
1.4 }
1.5
1.6 // Use /usr/share/vym or /usr/local/share/vym or . ?
1.7 - QDir vymBaseDir;
1.8 -
1.9 // First try options
1.10 if (options.isOn ("local"))
1.11 {
1.12 @@ -174,9 +172,11 @@
1.13 {
1.14 vymBaseDir.setPath ("/usr/share/vym");
1.15 if (!vymBaseDir.exists())
1.16 + {
1.17 vymBaseDir.setPath ("/usr/local/share/vym");
1.18 - if (!vymBaseDir.exists())
1.19 - vymBaseDir.setPath(vymBaseDir.currentDirPath() );
1.20 + if (!vymBaseDir.exists())
1.21 + vymBaseDir.setPath(vymBaseDir.currentDirPath() );
1.22 + }
1.23 }
1.24
1.25 iconPath=vymBaseDir.path()+"/icons/";