Commit 9ce89f5c authored by Henrique Pinto's avatar Henrique Pinto
Browse files

Only show PDF documents in the "File"->"Open..." dialog.

svn path=/trunk/kdegraphics/kpdf/; revision=344804
parent 5f20b609
......@@ -167,7 +167,7 @@ Shell::fileOpen()
// this slot is called whenever the File->Open menu is selected,
// the Open shortcut is pressed (usually CTRL+O) or the Open toolbar
// button is clicked
KURL url = KFileDialog::getOpenURL();//getOpenFileName();
KURL url = KFileDialog::getOpenURL( QString::null, "application/pdf" );//getOpenFileName();
if (!url.isEmpty())
openURL(url);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment