diff options
| author | 2015-08-25 00:03:57 +0200 | |
|---|---|---|
| committer | 2015-08-25 00:03:57 +0200 | |
| commit | ef82394b6f9a63dd23ecedfd107b477267e0d2f9 (patch) | |
| tree | 0602527993c91cc38169600b7a8022b5ba848a58 /src/modules/logview/LogViewWindow.cpp | |
| parent | Revert release name from Quasar to Aria (diff) | |
| download | KVIrc-ef82394b6f9a63dd23ecedfd107b477267e0d2f9.tar.gz KVIrc-ef82394b6f9a63dd23ecedfd107b477267e0d2f9.tar.bz2 KVIrc-ef82394b6f9a63dd23ecedfd107b477267e0d2f9.zip | |
File dialogs seem to always require a parent. Without it Qt5 enters in a kind of modal loop that prevents user from interacting with the whole application.
Diffstat (limited to 'src/modules/logview/LogViewWindow.cpp')
| -rw-r--r-- | src/modules/logview/LogViewWindow.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/modules/logview/LogViewWindow.cpp b/src/modules/logview/LogViewWindow.cpp index 8c6f6b5e4..2c24bbdb3 100644 --- a/src/modules/logview/LogViewWindow.cpp +++ b/src/modules/logview/LogViewWindow.cpp @@ -592,7 +592,15 @@ void LogViewWindow::createLog(LogFile * pLog, int iId, QString * pszFile) KviFileUtils::adjustFilePath(szLog); // Getting output file path from the user, with overwrite confirmation - if(!KviFileDialog::askForSaveFileName(szLog, __tr2qs_ctx("Export Log - KVIrc","log"), szLog, NULL, false, true)) + if(!KviFileDialog::askForSaveFileName( + szLog, + __tr2qs_ctx("Export Log - KVIrc","log"), + szLog, + QString(), + false, + true, + true, + this)) return; /* Save export directory - this directory path is also used in the HTML export |
