1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

Show whether QupZilla was built with debugging symbols in config page.

- closes #202
This commit is contained in:
nowrep 2012-03-10 14:37:05 +01:00
parent 9b63a96fb3
commit 1a3af429d2
7 changed files with 4101 additions and 6 deletions

BIN
bin/locale/qt_ja.qm Normal file

Binary file not shown.

View File

@ -20,6 +20,8 @@ DEFINES += QT_NO_URL_CAST_FROM_STRING
##It won't compile on windows with this define. Some bug in qtsingleapp / qvector template
!win32: !CONFIG(debug, debug|release): DEFINES += QT_NO_DEBUG_OUTPUT
CONFIG(debug, debug|release): DEFINES += QUPZILLA_DEBUG_BUILD
d_no_system_datapath = $$(NO_SYSTEM_DATAPATH)
d_use_webgl = $$(USE_WEBGL)
d_w7api = $$(W7API)

View File

@ -330,6 +330,9 @@ QString QupZillaSchemeReply::configPage()
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Qt version"), QT_VERSION_STR) +
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("WebKit version"), QupZilla::WEBKITVERSION) +
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Build time"), QupZilla::BUILDTIME) +
#ifdef QUPZILLA_DEBUG_BUILD
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Debugging symbols"), tr("Yes")) +
#endif
QString("<dt>%1</dt><dd>%2<dd>").arg(tr("Platform"), qz_buildSystem()));
}

View File

@ -30,6 +30,8 @@ EditSearchEngine::EditSearchEngine(const QString &title, QWidget* parent)
connect(ui->iconFromFile, SIGNAL(clicked()), this, SLOT(chooseIcon()));
ui->buttonBox->setFocus();
setFixedHeight(sizeHint().height());
}
QString EditSearchEngine::name()

View File

@ -206,11 +206,6 @@ void AKN_Handler::showAccessKeys()
QWebPage* page = m_view->page();
// Install event filter and connect loadStarted
m_accessKeysVisible = true;
qApp->installEventFilter(this);
connect(m_view, SIGNAL(loadStarted()), this, SLOT(hideAccessKeys()));
QStringList supportedElement;
supportedElement << QLatin1String("input")
<< QLatin1String("a")
@ -291,6 +286,13 @@ void AKN_Handler::showAccessKeys()
makeAccessKeyLabel(accessKey, element);
}
}
// Install event filter and connect loadStarted
m_accessKeysVisible = !m_accessKeyLabels.isEmpty();
if (m_accessKeysVisible) {
qApp->installEventFilter(this);
connect(m_view, SIGNAL(loadStarted()), this, SLOT(hideAccessKeys()));
}
}
void AKN_Handler::hideAccessKeys()

View File

@ -35,7 +35,7 @@ PluginSpec AKN_Plugin::pluginSpec()
spec.name = "Access Keys Navigation";
spec.info = "Access keys navigation for QupZilla";
spec.description = "Provides support for navigating in webpages by keyboard shortcuts";
spec.version = "0.1.0";
spec.version = "0.2.0";
spec.author = "David Rosca <nowrep@gmail.com>";
spec.icon = QPixmap(":/accesskeysnavigation/data/icon.png");
spec.hasSettings = true;

4086
translations/ja_JP.ts Normal file

File diff suppressed because it is too large Load Diff