|
|
|
@ -52,14 +52,14 @@ void Rad::load()
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
TDEStandardDirs *dirs = TDEGlobal::dirs();
|
|
|
|
|
TQString radtdefile = dirs->findResource("data", "kiten/radtdefile");
|
|
|
|
|
if (radtdefile.isNull())
|
|
|
|
|
TQString radkfile = dirs->findResource("data", "kiten/radkfile");
|
|
|
|
|
if (radkfile.isNull())
|
|
|
|
|
{
|
|
|
|
|
KMessageBox::error(0, i18n("Kanji radical information file not installed, so radical searching cannot be used."));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TQFile f(radtdefile);
|
|
|
|
|
TQFile f(radkfile);
|
|
|
|
|
|
|
|
|
|
if (!f.open(IO_ReadOnly))
|
|
|
|
|
{
|
|
|
|
|