tool switching implemented
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "tool.h"
|
||||
|
||||
#include "core.h"
|
||||
#include "widget/toolbar/toolbar.h"
|
||||
|
||||
ToolPanel::ToolPanel(QWidget *parent) :
|
||||
@@ -9,6 +10,9 @@ ToolPanel::ToolPanel(QWidget *parent) :
|
||||
|
||||
setWidget(t);
|
||||
|
||||
connect(t, SIGNAL(ToolChanged(const olive::tool::Tool&)), &olive::core, SLOT(SetTool(const olive::tool::Tool&)));
|
||||
connect(&olive::core, SIGNAL(ToolChanged(const olive::tool::Tool&)), t, SLOT(SetTool(const olive::tool::Tool&)));
|
||||
|
||||
Retranslate();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user