Skip to content

Commit

Permalink
Fix some bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
vicr123 committed May 31, 2017
1 parent 5eada8b commit b783791
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion syntaxhighlighter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SyntaxHighlighter::SyntaxHighlighter(QTextDocument *parent) : QSyntaxHighlighter
functionFormat.setForeground(Qt::blue);

controlFormat.setForeground(Qt::blue);
controlFormat.setFontWeight(500);
controlFormat.setFontWeight(90);
}

void SyntaxHighlighter::highlightBlock(const QString &text) {
Expand Down
4 changes: 3 additions & 1 deletion texteditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ TextEditor::TextEditor(QWidget *parent) : QTextEdit(parent)
}

TextEditor::~TextEditor() {

if (button != NULL) {
button->setVisible(false);
}
}

TabButton* TextEditor::getTabButton() {
Expand Down

0 comments on commit b783791

Please sign in to comment.