remove ui namespace which is not really used, move CameraData in camera_modes.h to avoid the inclusion of canva.h
This commit is contained in:
@@ -4,13 +4,11 @@
|
||||
#include "node_progress_bar.h"
|
||||
#include "node_dialog_cloud.h"
|
||||
|
||||
using namespace ui;
|
||||
|
||||
void App::cloud_upload()
|
||||
{
|
||||
if (!canvas)
|
||||
return;
|
||||
if (ui::Canvas::I->m_newdoc)
|
||||
if (Canvas::I->m_newdoc)
|
||||
{
|
||||
auto msgbox = new NodeMessageBox();
|
||||
msgbox->m_manager = &layout;
|
||||
@@ -23,7 +21,7 @@ void App::cloud_upload()
|
||||
else
|
||||
{
|
||||
auto upload_thread = [this] {
|
||||
if (ui::Canvas::I->m_unsaved)
|
||||
if (Canvas::I->m_unsaved)
|
||||
{
|
||||
Canvas::I->project_save_thread(doc_path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user