From aad8fcb4109f8b5c3a4cdc62fea909c8883f360f Mon Sep 17 00:00:00 2001 From: Colin Wallace Date: Mon, 7 Sep 2015 16:39:07 -0700 Subject: [PATCH] Remove unused class declaration, make pluginBefore a static function --- include/PluginBrowser.h | 3 --- src/gui/PluginBrowser.cpp | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/include/PluginBrowser.h b/include/PluginBrowser.h index 5ea537065..6aaf2e72c 100644 --- a/include/PluginBrowser.h +++ b/include/PluginBrowser.h @@ -32,9 +32,6 @@ #include "Plugin.h" -class trackContainer; - - class PluginBrowser : public SideBarWidget { Q_OBJECT diff --git a/src/gui/PluginBrowser.cpp b/src/gui/PluginBrowser.cpp index 6e7b9a619..14f99273e 100644 --- a/src/gui/PluginBrowser.cpp +++ b/src/gui/PluginBrowser.cpp @@ -40,7 +40,7 @@ #include "PluginFactory.h" -bool pluginBefore( const Plugin::Descriptor* d1, const Plugin::Descriptor* d2 ) +static bool pluginBefore( const Plugin::Descriptor* d1, const Plugin::Descriptor* d2 ) { return qstricmp( d1->displayName, d2->displayName ) < 0 ? true : false; }