diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-09-03 19:09:07 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-09-03 19:09:07 +0000 |
| commit | c88e5e9cf4c7526609834993e4f5dd9f5ae2c931 (patch) | |
| tree | 2d6fc5edf75542dc31be580fdec1966311a9404b /src/qmmpui/pluginitem.cpp | |
| parent | 37b7bcea340dcde81e95fb55a99d9e89967ebafb (diff) | |
| download | qmmp-c88e5e9cf4c7526609834993e4f5dd9f5ae2c931.tar.gz qmmp-c88e5e9cf4c7526609834993e4f5dd9f5ae2c931.tar.bz2 qmmp-c88e5e9cf4c7526609834993e4f5dd9f5ae2c931.zip | |
added file dialog plugin path; file dialog api cleanup
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2929 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/pluginitem.cpp')
| -rw-r--r-- | src/qmmpui/pluginitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmmpui/pluginitem.cpp b/src/qmmpui/pluginitem.cpp index fb97a2df7..98221c69a 100644 --- a/src/qmmpui/pluginitem.cpp +++ b/src/qmmpui/pluginitem.cpp @@ -103,7 +103,7 @@ PluginItem::PluginItem(QTreeWidgetItem *parent, OutputFactory *factory, const QS } PluginItem::PluginItem(QTreeWidgetItem *parent, FileDialogFactory *factory, const QString &path) - : QTreeWidgetItem(parent, QStringList() << factory->properties().name << path, FILE_DIALOG) + : QTreeWidgetItem(parent, QStringList() << factory->properties().name << path.section('/',-1), FILE_DIALOG) { setCheckState(0, FileDialog::isEnabled(factory) ? Qt::Checked : Qt::Unchecked); m_has_about = factory->properties().hasAbout; |
