diff --git a/README.md b/README.md index 2a3613b77..a8a5207dc 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Then you can start compiling by running this commands: After a successful compilation the executable binary can be found in the bin/ directory. -To install QupZilla, you will have to run this command: (it may be neccessary to run it as root) +To install QupZilla, you will have to run this command: (it may be necessary to run it as root) $ make install @@ -53,7 +53,7 @@ Current version ---------------------------------------------------------------------------------------- The current released version of QupZilla is 1.1.8. You can download precompiled packages -and the sources from the download section. +and the sources from the download section at [homepage](http://www.qupzilla.com/download). However, if you want the latest revision, just take the latest code snapshot either by downloading a tarball or running: diff --git a/src/lib/app/qupzilla.cpp b/src/lib/app/qupzilla.cpp index faa150a39..537dd9125 100644 --- a/src/lib/app/qupzilla.cpp +++ b/src/lib/app/qupzilla.cpp @@ -1408,8 +1408,8 @@ void QupZilla::searchOnPage() void QupZilla::openFile() { const QString &fileTypes = QString("%1(*.html *.htm *.shtml *.shtm);;" - "%2(*.txt);;" - "%3(*.png *.jpg *.jpeg *.bmp *.gif *.svg);;" + "%2(*.png *.jpg *.jpeg *.bmp *.gif *.svg *.tiff);;" + "%3(*.txt);;" "%4(*.*)").arg(tr("HTML files"), tr("Image files"), tr("Text files"), tr("All files")); const QString &filePath = QFileDialog::getOpenFileName(this, tr("Open file..."), QDir::homePath(), fileTypes); diff --git a/src/lib/opensearch/editsearchengine.cpp b/src/lib/opensearch/editsearchengine.cpp index 45cd6fdda..2520f26f9 100644 --- a/src/lib/opensearch/editsearchengine.cpp +++ b/src/lib/opensearch/editsearchengine.cpp @@ -87,7 +87,9 @@ void EditSearchEngine::hideIconLabels() void EditSearchEngine::chooseIcon() { - QString path = QFileDialog::getOpenFileName(this, tr("Choose icon...")); + const QString &fileTypes = QString("%3(*.png *.jpg *.jpeg *.bmp *.gif *.svg *.tiff)").arg(tr("Image files")); + + QString path = QFileDialog::getOpenFileName(this, tr("Choose icon..."), QDir::homePath(), fileTypes); if (path.isEmpty()) { return; } diff --git a/src/lib/other/aboutdialog.cpp b/src/lib/other/aboutdialog.cpp index de37199f1..7fe1acdc4 100644 --- a/src/lib/other/aboutdialog.cpp +++ b/src/lib/other/aboutdialog.cpp @@ -55,7 +55,7 @@ void AboutDialog::showAbout() { ui->authorsButton->setText(tr("Authors and Contributors")); if (m_aboutHtml.isEmpty()) { - m_aboutHtml.append("
"); + m_aboutHtml.append("
"); m_aboutHtml.append(tr("

Application version %1
").arg(QupZilla::VERSION #ifdef GIT_REVISION + " (" + GIT_REVISION + ")" @@ -66,7 +66,7 @@ void AboutDialog::showAbout() m_aboutHtml.append(tr("Build time: %1

").arg(QupZilla::BUILDTIME)); m_aboutHtml.append(QString("

%1

").arg(QupZilla::WWWADDRESS)); m_aboutHtml.append("

" + mApp->getWindow()->weView()->webPage()->userAgentForUrl(QUrl()) + "

"); - m_aboutHtml.append("
"); + m_aboutHtml.append("
"); } ui->textBrowser->setHtml(m_aboutHtml); } @@ -75,7 +75,7 @@ void AboutDialog::showAuthors() { ui->authorsButton->setText(tr("< About QupZilla")); if (m_authorsHtml.isEmpty()) { - m_authorsHtml.append("
"); + m_authorsHtml.append("
"); m_authorsHtml.append(tr("

Main developer:
%1 <%2>

").arg(QupZilla::AUTHOR, "nowrep@gmail.com")); m_authorsHtml.append(tr("

Contributors:
%1

").arg( QString::fromUtf8("Mladen Pejaković
" @@ -108,7 +108,7 @@ void AboutDialog::showAuthors() "Beqa Arabuli
" "Daiki Noda") )); - m_authorsHtml.append("
"); + m_authorsHtml.append("
"); } ui->textBrowser->setHtml(m_authorsHtml); } diff --git a/src/lib/plugins/speeddial.cpp b/src/lib/plugins/speeddial.cpp index 5f6a307da..c06735a6a 100644 --- a/src/lib/plugins/speeddial.cpp +++ b/src/lib/plugins/speeddial.cpp @@ -275,7 +275,9 @@ void SpeedDial::removeImageForUrl(const QString &url) QString SpeedDial::getOpenFileName() { - return QFileDialog::getOpenFileName(0, tr("Select image..."), QDir::homePath(), "(*.png *.jpg *.jpeg *.bmp *.gif *.tiff)"); + const QString &fileTypes = QString("%3(*.png *.jpg *.jpeg *.bmp *.gif *.svg *.tiff)").arg(tr("Image files")); + + return QFileDialog::getOpenFileName(0, tr("Select image..."), QDir::homePath(), fileTypes); } QString SpeedDial::urlFromUserInput(const QString &url)