diff --git a/src/SeerEditorWidgetSourceArea.cpp b/src/SeerEditorWidgetSourceArea.cpp index a96f4f6..fa949c3 100644 --- a/src/SeerEditorWidgetSourceArea.cpp +++ b/src/SeerEditorWidgetSourceArea.cpp @@ -592,11 +592,7 @@ void SeerEditorWidgetSourceArea::open (const QString& fullname, const QString& f while (!line.isNull()) { - if (text != "") { - text += "\n"; - } - - text += line; + text += line + "\n"; line = stream.readLine(); }; diff --git a/tests/helloworld/helloworld.cpp b/tests/helloworld/helloworld.cpp index 875358b..cb7345f 100644 --- a/tests/helloworld/helloworld.cpp +++ b/tests/helloworld/helloworld.cpp @@ -1,3 +1,5 @@ + + #include #include