Skip to content

Commit

Permalink
Исправлен сегфолт при добавлении записи
Browse files Browse the repository at this point in the history
  • Loading branch information
xintrea committed Apr 24, 2016
1 parent dee54f3 commit bdab253
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/libraries/wyedit/EditorToolBar.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ class EditorToolBar : public QWidget
explicit EditorToolBar(QWidget *parent = 0);
virtual ~EditorToolBar();

// Область, содержащая линейки с кнопками форматирования
QVBoxLayout textformatButtonsLayout;

// Линейки с кнопками форматирования текста
QToolBar toolsLine1;
QToolBar toolsLine2;

// Кнопки форматирования текста
QToolButton bold;
QToolButton italic;
Expand Down Expand Up @@ -82,13 +89,6 @@ class EditorToolBar : public QWidget
QIcon iconAttachExists; // Иконка, когда аттачи есть
QIcon iconAttachNotExists; // Иконка, когда аттачей нет

// Линейки с кнопками форматирования текста
QToolBar toolsLine1;
QToolBar toolsLine2;

// Область, содержащая линейки с кнопками форматирования
QVBoxLayout textformatButtonsLayout;

void init();

void initDisableToolList(QStringList toolNames); // Список кнопок, которые нельзя использовать - они будут невидны (не добавлены)
Expand Down
2 changes: 1 addition & 1 deletion src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ using namespace std;
// Версия программы
#define APPLICATION_RELEASE_VERSION 1
#define APPLICATION_RELEASE_SUBVERSION 32
#define APPLICATION_RELEASE_MICROVERSION 269
#define APPLICATION_RELEASE_MICROVERSION 270

// Поддерживаемая версия формата базы (хранилища)
#define CURRENT_FORMAT_VERSION 1
Expand Down

0 comments on commit bdab253

Please sign in to comment.