mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
SQL export uses wrong line terminators for Windows
According to Qt documentation: When writing, the end-of-line terminators are translated to the local encoding, for example '\r\n' for Win32. Reported in issue #1502
This commit is contained in:
@@ -655,7 +655,7 @@ bool DBBrowserDB::dump(const QString& filePath,
|
||||
|
||||
// Open file
|
||||
QFile file(filePath);
|
||||
if(file.open(QIODevice::WriteOnly))
|
||||
if(file.open(QIODevice::WriteOnly|QIODevice::Text))
|
||||
{
|
||||
QApplication::setOverrideCursor(Qt::WaitCursor);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user