Fixed some issue name

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent 08027012eb
commit 540de51734
  1. 3
      src/core/UBApplication.cpp
  2. 2
      src/core/UBSettings.cpp
  3. 4
      src/gui/UBActionPalette.cpp

@ -109,7 +109,7 @@ UBApplication::UBApplication(const QString &id, int &argc, char **argv) : QtSing
setOrganizationName("Sankore"); setOrganizationName("Sankore");
setOrganizationDomain("sankore.org"); setOrganizationDomain("sankore.org");
setApplicationName("Sankore 3.1"); setApplicationName("Open-Sankore");
setApplicationVersion(UBVERSION); setApplicationVersion(UBVERSION);
@ -222,7 +222,6 @@ int UBApplication::exec(const QString& pFileToImport)
QWebSettings *gs = QWebSettings::globalSettings(); QWebSettings *gs = QWebSettings::globalSettings();
gs->setAttribute(QWebSettings::JavaEnabled, true); gs->setAttribute(QWebSettings::JavaEnabled, true);
gs->setAttribute(QWebSettings::PluginsEnabled, true); gs->setAttribute(QWebSettings::PluginsEnabled, true);
gs->setAttribute(QWebSettings::JavaEnabled, true);
gs->setAttribute(QWebSettings::LocalStorageDatabaseEnabled, true); gs->setAttribute(QWebSettings::LocalStorageDatabaseEnabled, true);
gs->setAttribute(QWebSettings::OfflineWebApplicationCacheEnabled, true); gs->setAttribute(QWebSettings::OfflineWebApplicationCacheEnabled, true);
gs->setAttribute(QWebSettings::OfflineStorageDatabaseEnabled, true); gs->setAttribute(QWebSettings::OfflineStorageDatabaseEnabled, true);

@ -762,7 +762,7 @@ QString UBSettings::uniboardDataDirectory()
} }
} }
QString qtDataPath = UBFileSystemUtils::normalizeFilePath(UBDesktopServices::storageLocation(QDesktopServices::DataLocation)); QString qtDataPath = UBFileSystemUtils::normalizeFilePath(UBDesktopServices::storageLocation(QDesktopServices::DataLocation));
qtDataPath.replace("/Sankore/Sankore 3.1", "/Sankore"); qtDataPath.replace("/Open-Sankore", "");
return qtDataPath; return qtDataPath;
} }

@ -306,9 +306,5 @@ UBActionPaletteButton* UBActionPalette::getButtonFromAction(QAction *action)
bool UBActionPaletteButton::hitButton(const QPoint &pos) const bool UBActionPaletteButton::hitButton(const QPoint &pos) const
{ {
Q_UNUSED(pos); Q_UNUSED(pos);
// if(isChecked())
// {
// return false;
// }
return true; return true;
} }

Loading…
Cancel
Save