changed CommandManager to CommandController
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "widgets/helper/splitinput.hpp"
|
||||
|
||||
#include "application.hpp"
|
||||
#include "singletons/commandmanager.hpp"
|
||||
#include "controllers/commands/commandcontroller.hpp"
|
||||
#include "singletons/ircmanager.hpp"
|
||||
#include "singletons/settingsmanager.hpp"
|
||||
#include "singletons/thememanager.hpp"
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
#include <QTextEdit>
|
||||
|
||||
#include "application.hpp"
|
||||
#include "singletons/commandmanager.hpp"
|
||||
#include "controllers/commands/commandcontroller.hpp"
|
||||
#include "controllers/commands/commandmodel.hpp"
|
||||
#include "util/layoutcreator.hpp"
|
||||
#include "util/standarditemhelper.hpp"
|
||||
//#include "widgets/helper/comboboxitemdelegate.hpp"
|
||||
@@ -49,7 +50,7 @@ CommandPage::CommandPage()
|
||||
auto add = buttons.emplace<QPushButton>("Add");
|
||||
QObject::connect(*add, &QPushButton::clicked, [model, view] {
|
||||
getApp()->commands->items.appendItem(
|
||||
singletons::Command{"/command", "I made a new command HeyGuys"});
|
||||
controllers::commands::Command{"/command", "I made a new command HeyGuys"});
|
||||
view->scrollToBottom();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user