added text to notify the user that upgrade progress will start sooner

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent 72d7615b1a
commit 1c859ee5da
  1. 1
      src/gui/UBUpdateDlg.cpp
  2. 2
      src/transition/UniboardSankoreTransition.cpp

@ -168,6 +168,7 @@ void UBUpdateDlg::onBrowse()
void UBUpdateDlg::onUpdate() void UBUpdateDlg::onUpdate()
{ {
mProgressLabel = new QLabel(mProgressWidget); mProgressLabel = new QLabel(mProgressWidget);
mProgressLabel->setText(tr("Please wait the import process will start soon..."));
mProgressLayout = new QHBoxLayout(); mProgressLayout = new QHBoxLayout();
mProgressLayout->addWidget(mProgressLabel); mProgressLayout->addWidget(mProgressLabel);
mProgressWidget->setLayout(mProgressLayout); mProgressWidget->setLayout(mProgressLayout);

@ -111,7 +111,7 @@ bool UniboardSankoreTransition::checkPage(QString& sankorePagePath)
file.close(); file.close();
QString sankoreDirectory = sankorePagePath.left(sankorePagePath.indexOf("/page")); QString sankoreDirectory = sankorePagePath.left(sankorePagePath.indexOf("/page"));
;
sankoreDirectory = QUrl::fromLocalFile(sankoreDirectory).toString(); sankoreDirectory = QUrl::fromLocalFile(sankoreDirectory).toString();
QString documentString(documentByteArray); QString documentString(documentByteArray);

Loading…
Cancel
Save