Commit 018f1c69 authored by Thomas Friedrichsmeier's avatar Thomas Friedrichsmeier
Browse files

Use KDE-style, not Qt-style file name filter.

parent 569d7674
......@@ -57,7 +57,7 @@ RKPluginBrowser::RKPluginBrowser (const QDomElement &element, RKComponent *paren
selector = new GetFileNameWidget (this, mode, only_local, label_string, i18n ("Select"), xml->getStringAttribute (element, "initial", QString (), DL_INFO));
QString filter = xml->getStringAttribute (element, "filter", QString (), DL_INFO);
if (!filter.isEmpty ()) {
filter.append ("\nAll files (*)");
filter.append ("\n*|All files (*)");
selector->setFilter (filter);
connect (selector, &GetFileNameWidget::locationChanged, this, &RKPluginBrowser::textChangedFromUi);
Supports Markdown
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