|
|
@ -964,9 +964,9 @@ void Knowit::slotFileExport()
|
|
|
|
htmlfile = htmlfile.left(htmlfile.length() - 4) + ".html";
|
|
|
|
htmlfile = htmlfile.left(htmlfile.length() - 4) + ".html";
|
|
|
|
else htmlfile = "";
|
|
|
|
else htmlfile = "";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (htmlfile.isEmpty())
|
|
|
|
if (htmlfile.isEmpty()) {
|
|
|
|
htmlfile == TQDir::currentDirPath();
|
|
|
|
htmlfile = TQDir::currentDirPath();
|
|
|
|
|
|
|
|
}
|
|
|
|
/* Confirm/choose filename */
|
|
|
|
/* Confirm/choose filename */
|
|
|
|
KURL url=KFileDialog::getSaveURL(htmlfile,
|
|
|
|
KURL url=KFileDialog::getSaveURL(htmlfile,
|
|
|
|
i18n("*.html|HTML files (*.html)\n*|All files"), this, i18n("Export to HTML"));
|
|
|
|
i18n("*.html|HTML files (*.html)\n*|All files"), this, i18n("Export to HTML"));
|
|
|
|