From 0ed1a768789d208a93d747e9d0bac581ab69d1cb Mon Sep 17 00:00:00 2001
From: Domrachev Alexandr <alexandr.domrachev@gmail.com>
Date: Thu, 18 Jun 2009 22:57:11 +0400
Subject: File filter fix in MainView::slotFileOpen dialog.

---
 src/mainwindow.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src')

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;
-- 
cgit v1.2.1