logic: Allow project opening in trial mode
* added open project button to start screen in trial mode * allow ide communication in trial
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
#include <QFileOpenEvent>
|
||||
|
||||
#include "utility/file/FilePath.h"
|
||||
#include "utility/messaging/type/MessageDispatchWhenLicenseValid.h"
|
||||
#include "utility/messaging/type/MessageLoadProject.h"
|
||||
#include "utility/logging/LogManager.h"
|
||||
#include "component/controller/LogController.h"
|
||||
@@ -36,9 +35,7 @@ bool QtApplication::event(QEvent *event)
|
||||
|
||||
if (path.exists() && path.extension() == ".coatiproject")
|
||||
{
|
||||
MessageDispatchWhenLicenseValid(
|
||||
std::make_shared<MessageLoadProject>(path.str(), false)
|
||||
).dispatch();
|
||||
MessageLoadProject(path.str(), false).dispatch();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user