forked from qt-creator/qt-creator
Remove some dead code left over from the KitMatcher change
Change-Id: Ic3b23692615684df38157b00c9d361a6ae0a2f03 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -36,23 +36,6 @@
|
||||
#include <qtsupport/qtkitinformation.h>
|
||||
#include <qtsupport/qtsupportconstants.h>
|
||||
|
||||
namespace {
|
||||
|
||||
class DesktopQtKitMatcher : public ProjectExplorer::KitMatcher
|
||||
{
|
||||
public:
|
||||
bool matches(const ProjectExplorer::Kit *k) const
|
||||
{
|
||||
ProjectExplorer::IDevice::ConstPtr dev = ProjectExplorer::DeviceKitInformation::device(k);
|
||||
if (dev.isNull() || dev->id() != ProjectExplorer::Constants::DESKTOP_DEVICE_ID)
|
||||
return false;
|
||||
QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(k);
|
||||
return version && version->type() == QLatin1String(QtSupport::Constants::DESKTOPQT);
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
namespace QmakeProjectManager {
|
||||
namespace Internal {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user