Commit 35e28495 authored by Jan Möbius's avatar Jan Möbius
Browse files

Tried to make valgrind happy

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent be08d8bf
......@@ -52,7 +52,10 @@
void CoreWidget::slotAddToolbar(QToolBar* _toolbar) {
addToolBar( _toolbar );
_toolbar->setObjectName("Toolbar" + QString::number(toolbarCount_++));
int newNumber = toolbarCount_;
QString number = QString::number(newNumber);
_toolbar->setObjectName("Toolbar" + number);
void CoreWidget::slotRemoveToolbar(QToolBar* _toolbar) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment