|
|
@ -351,12 +351,10 @@ int UBApplication::exec(const QString& pFileToImport) |
|
|
|
if (pFileToImport.length() > 0) |
|
|
|
if (pFileToImport.length() > 0) |
|
|
|
UBApplication::applicationController->importFile(pFileToImport); |
|
|
|
UBApplication::applicationController->importFile(pFileToImport); |
|
|
|
|
|
|
|
|
|
|
|
if (UBSettings::settings()->appStartMode->get().toInt() == 0) |
|
|
|
if (UBSettings::settings()->appStartMode->get().toInt()) |
|
|
|
applicationController->showBoard(); |
|
|
|
|
|
|
|
else if (UBSettings::settings()->appStartMode->get().toInt() == 1) |
|
|
|
|
|
|
|
applicationController->showDesktop(); |
|
|
|
applicationController->showDesktop(); |
|
|
|
else if (UBSettings::settings()->appStartMode->get().toInt() == 2) |
|
|
|
else |
|
|
|
applicationController->showDocument(); |
|
|
|
applicationController->showBoard(); |
|
|
|
|
|
|
|
|
|
|
|
emit UBDrawingController::drawingController()->colorPaletteChanged(); |
|
|
|
emit UBDrawingController::drawingController()->colorPaletteChanged(); |
|
|
|
|
|
|
|
|
|
|
|