[rkward] rkward/plugin: Use KDE-style, not Qt-style file name filter.

Thomas Friedrichsmeier null at kde.org
Thu Nov 1 16:59:52 GMT 2018


Git commit 018f1c69824f15a2f9a0f3030780f3a9c371ba95 by Thomas Friedrichsmeier.
Committed on 01/11/2018 at 16:57.
Pushed by tfry into branch 'master'.

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

M  +1    -1    rkward/plugin/rkpluginbrowser.cpp

https://commits.kde.org/rkward/018f1c69824f15a2f9a0f3030780f3a9c371ba95

diff --git a/rkward/plugin/rkpluginbrowser.cpp b/rkward/plugin/rkpluginbrowser.cpp
index 94a09e30..9612acb5 100644
--- a/rkward/plugin/rkpluginbrowser.cpp
+++ b/rkward/plugin/rkpluginbrowser.cpp
@@ -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);



More information about the rkward-tracker mailing list