[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kcontrol/kfontinst/kfontinst
From: Craig Drummond <craig () kde ! org>
Date: 2004-03-13 14:25:01
Message-ID: 20040313142501.ECFA3999B () office ! kde ! org
[Download RAW message or body]
CVS commit by craig:
Speed up (slightly) installing fonts to fonts:/System by not create a KInstance when not required.
M +4 -4 Main.cpp 1.6
--- kdebase/kcontrol/kfontinst/kfontinst/Main.cpp #1.5:1.6
@@ -283,8 +283,8 @@ static int kfi_cfgdir(const char *dir)
static int kfi_install(const char *from, const char *to)
{
- KInstance kinst("kfontinst");
+// KInstance kinst("kfontinst");
int rv=-2;
- CGlobal::create(true, true);
+// CGlobal::create(true, true);
QString dir(CMisc::getDir(to));
@@ -299,5 +299,5 @@ static int kfi_install(const char *from,
}
- CGlobal::destroy();
+// CGlobal::destroy();
return rv;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic