Skip to content

Commit

Permalink
Merge pull request #3 from edbee/master
Browse files Browse the repository at this point in the history
Merge latest edbee in
  • Loading branch information
vadi2 authored May 16, 2020
2 parents af9dc9f + dd3d297 commit 25a7226
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

edbee.lib:

- fix #98, Missing header include in Qt 5.15rc
- fix #94 (partial), Resource delete fix in TextDocumentscopes
- Merged PR #86, Updated QsLog
- fix #89, Replace qSort with std::sort
- fix #84, Customize the autoScrollMargin
- Moved the TextLineDataManager to the core TextDocument
Expand Down
2 changes: 1 addition & 1 deletion edbee-lib/edbee/models/textdocumentscopes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ TextScope::TextScope()
// Destructs the textscope
TextScope::~TextScope()
{
delete scopeAtoms_;
delete[] scopeAtoms_;
}


Expand Down
1 change: 1 addition & 0 deletions edbee-lib/edbee/views/components/texteditorrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "texteditorrenderer.h"

#include <QPainter>
#include <QPainterPath>
#include <QTextLayout>

#include "edbee/models/textdocument.h"
Expand Down
4 changes: 2 additions & 2 deletions edbee-test/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ int main(int argc, char* argv[])

// make sure we see the QsLogging items
QsLogging::Logger& logger = QsLogging::Logger::instance();
static QsLogging::DestinationPtr debugDestination( QsLogging::DestinationFactory::MakeDebugOutputDestination() );
logger.addDestination(debugDestination.get());
static QsLogging::DestinationPtrU debugDestination( QsLogging::DestinationFactory::MakeDebugOutputDestination() );
logger.addDestination(std::move(debugDestination));
logger.setLoggingLevel(QsLogging::TraceLevel);


Expand Down

0 comments on commit 25a7226

Please sign in to comment.