diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2008-12-11 10:28:19 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2008-12-11 10:28:19 +0100 |
commit | 234908390f53163db78829a4835a72014f774103 (patch) | |
tree | 3b907c9aa8ecafd5433cd682867fea4c95220907 | |
parent | last adjs.. (diff) | |
download | rekonq-234908390f53163db78829a4835a72014f774103.tar.xz |
QFIleDialog --> KFIleDialog
-rw-r--r-- | src/browsermainwindow.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/browsermainwindow.cpp b/src/browsermainwindow.cpp index d6327300..3375aa89 100644 --- a/src/browsermainwindow.cpp +++ b/src/browsermainwindow.cpp @@ -42,16 +42,13 @@ #include <KToggleFullScreenAction> #include <KActionCollection> #include <KMessageBox> +#include <KFileDialog> // Qt Includes -#include <QDesktopWidget> -#include <QFileDialog> #include <QPlainTextEdit> #include <QPrintDialog> #include <QPrintPreviewDialog> #include <QPrinter> -#include <QToolBar> -#include <QInputDialog> #include <QWebFrame> #include <QWebHistory> #include <QDebug> @@ -539,8 +536,10 @@ void BrowserMainWindow::slotFileNew() void BrowserMainWindow::slotFileOpen() { - QString file = QFileDialog::getOpenFileName(this, i18n("Open Web Resource"), QString(), - i18n("Web Resources (*.html *.htm *.svg *.png *.gif *.svgz);;All files (*.*)")); + QString file = KFileDialog::getOpenFileName( KUrl(), + i18n("Web Resources (*.html *.htm *.svg *.png *.gif *.svgz);;All files (*.*)"), + this, + i18n("Open Web Resource") ); if (file.isEmpty()) return; |