fixed issue with translation and starting mode

preferencesAboutTextFull
Claudio Valerio 12 years ago
parent c2a59606fc
commit 0978af0fb8
  1. 2
      src/core/UBApplication.cpp
  2. 2
      src/core/UBPreferencesController.cpp

@ -372,7 +372,7 @@ int UBApplication::exec(const QString& pFileToImport)
AEInstallEventHandler(kCoreEventClass, kAEReopenApplication, ub_proc_ae_handlerUPP, SRefCon(UBApplication::applicationController), true);
#endif
if (UBSettings::settings()->appStartMode->get() == "Desktop")
if (UBSettings::settings()->appStartMode->get().toInt())
applicationController->showDesktop();
else
applicationController->showBoard();

@ -112,7 +112,7 @@ void UBPreferencesController::wire()
connect(mPreferencesUI->keyboardPaletteKeyButtonSize, SIGNAL(currentIndexChanged(const QString &)), settings->boardKeyboardPaletteKeyBtnSize, SLOT(setString(const QString &)));
connect(mPreferencesUI->startModeComboBox, SIGNAL(currentIndexChanged(const QString &)), settings->appStartMode, SLOT(setString(const QString &)));
connect(mPreferencesUI->startModeComboBox, SIGNAL(currentIndexChanged(int)), settings->appStartMode, SLOT(setInt(int)));
connect(mPreferencesUI->useExternalBrowserCheckBox, SIGNAL(clicked(bool)), settings->webUseExternalBrowser, SLOT(setBool(bool)));

Loading…
Cancel
Save