htmlfile should get an assignment not a comparison

Signed-off-by: gregory guy <g-gregory@gmx.fr>
(cherry picked from commit 8bebc3f6f4)
r14.0.x
gregory guy 6 years ago committed by Slávek Banko
parent 0df19d2439
commit fbfb5a1647
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

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

Loading…
Cancel
Save