|
|
@ -55,6 +55,7 @@ |
|
|
|
#include "frameworks/UBCryptoUtils.h" |
|
|
|
#include "frameworks/UBCryptoUtils.h" |
|
|
|
#include "tools/UBToolsManager.h" |
|
|
|
#include "tools/UBToolsManager.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "UBDisplayManager.h" |
|
|
|
#include "core/memcheck.h" |
|
|
|
#include "core/memcheck.h" |
|
|
|
|
|
|
|
|
|
|
|
QPointer<QUndoStack> UBApplication::undoStack; |
|
|
|
QPointer<QUndoStack> UBApplication::undoStack; |
|
|
@ -378,9 +379,18 @@ int UBApplication::exec(const QString& pFileToImport) |
|
|
|
else |
|
|
|
else |
|
|
|
applicationController->showBoard(); |
|
|
|
applicationController->showBoard(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
onScreenCountChanged(1); |
|
|
|
|
|
|
|
connect(desktop(), SIGNAL(screenCountChanged(int)), this, SLOT(onScreenCountChanged(int))); |
|
|
|
return QApplication::exec(); |
|
|
|
return QApplication::exec(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void UBApplication::onScreenCountChanged(int newCount) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
Q_UNUSED(newCount); |
|
|
|
|
|
|
|
UBDisplayManager displayManager; |
|
|
|
|
|
|
|
mainWindow->actionMultiScreen->setEnabled(displayManager.numScreens() > 1); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void UBApplication::importUniboardFiles() |
|
|
|
void UBApplication::importUniboardFiles() |
|
|
|
{ |
|
|
|
{ |
|
|
|
mUniboardSankoreTransition = new UniboardSankoreTransition(); |
|
|
|
mUniboardSankoreTransition = new UniboardSankoreTransition(); |
|
|
|