diff options
author | gregory guy <g-gregory@gmx.fr> | 2018-09-14 17:00:04 +0200 |
---|---|---|
committer | gregory guy <g-gregory@gmx.fr> | 2018-09-14 17:00:04 +0200 |
commit | 8bebc3f6f411b1a43164f1fc52c881017a9bc821 (patch) | |
tree | 0aa808eb7175d7989985adb0a1f4abef71f318c6 /src/knowit.cpp | |
parent | ff86780498740373eadd32e2da086fad826063ad (diff) | |
download | knowit-8bebc3f6f411b1a43164f1fc52c881017a9bc821.tar.gz knowit-8bebc3f6f411b1a43164f1fc52c881017a9bc821.zip |
htmlfile should get an assignment not a comparison
Signed-off-by: gregory guy <g-gregory@gmx.fr>
Diffstat (limited to 'src/knowit.cpp')
-rw-r--r-- | src/knowit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/knowit.cpp b/src/knowit.cpp index b930bbb..a9a2853 100644 --- a/src/knowit.cpp +++ b/src/knowit.cpp @@ -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")); |