aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/coreSQLiteStudio/plugins/populatedictionary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'SQLiteStudio3/coreSQLiteStudio/plugins/populatedictionary.cpp')
-rw-r--r--SQLiteStudio3/coreSQLiteStudio/plugins/populatedictionary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/SQLiteStudio3/coreSQLiteStudio/plugins/populatedictionary.cpp b/SQLiteStudio3/coreSQLiteStudio/plugins/populatedictionary.cpp
index 3d78de5..fd654ad 100644
--- a/SQLiteStudio3/coreSQLiteStudio/plugins/populatedictionary.cpp
+++ b/SQLiteStudio3/coreSQLiteStudio/plugins/populatedictionary.cpp
@@ -35,7 +35,7 @@ bool PopulateDictionaryEngine::beforePopulating(Db* db, const QString& table)
file.close();
if (cfg.PopulateDictionary.Lines.get())
- dictionary = dataStr.split("\n");
+ dictionary = dataStr.split(QRegExp("(\r\n|\n|\r)"));
else
dictionary = dataStr.split(QRegExp("\\s+"));