summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDomrachev Alexandr <alexandr.domrachev@gmail.com>2009-06-18 22:57:11 +0400
committerDomrachev Alexandr <alexandr.domrachev@gmail.com>2009-06-18 22:57:11 +0400
commit0ed1a768789d208a93d747e9d0bac581ab69d1cb (patch)
tree351a63055cc3bdbfb489cdfa54219585287e300e
parentMainWindow::slotFind{Next, Previous} code clean (diff)
downloadrekonq-0ed1a768789d208a93d747e9d0bac581ab69d1cb.tar.xz
File filter fix in MainView::slotFileOpen dialog.
-rw-r--r--src/mainwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index d0405ea9..94411794 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -476,10 +476,10 @@ void MainWindow::slotUpdateWindowTitle(const QString &title)
void MainWindow::slotFileOpen()
{
QString filePath = KFileDialog::getOpenFileName(KUrl(),
- i18n("Web Resources (*.html *.htm *.svg *.png *.gif *.svgz); All files (*.*)"),
+ i18n("*.html *.htm *.svg *.png *.gif *.svgz|Web Resources (*.html *.htm *.svg *.png *.gif *.svgz)\n"\
+ "*.*|All files (*.*)"),
this,
- i18n("Open Web Resource")
- );
+ i18n("Open Web Resource"));
if (filePath.isEmpty())
return;