Fix unintended rename of radkfile

pull/1/head
Slávek Banko 12 years ago
parent ec412cf7be
commit c16c4c0357

@ -32,7 +32,7 @@ rc_DATA = kitenui.rc learnui.rc eeditui.rc
xdg_apps_DATA = kiten.desktop
kiten_DATA = edict kanjidic radtdefile vconj romkana.cnv
kiten_DATA = edict kanjidic radkfile vconj romkana.cnv
kitendir = $(kde_datadir)/kiten
kde_kcfg_DATA = kiten.kcfg

@ -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))
{

Loading…
Cancel
Save