Skip to content

Commit

Permalink
Fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Reif committed Nov 11, 2017
1 parent 13cbe78 commit 12f8ae7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/Model/LSYSModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@ void LSYSModel::setModel(std::unique_ptr<QString> newMod)
emit modelChanged(*m_sModel.get());
}

QString const * const LSYSModel::getModel() const
{
return m_sModel.get();
}

} // namespace Model
3 changes: 2 additions & 1 deletion src/Model/LSYSModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ class LSYSModel : public QObject
Q_OBJECT

signals:
void modelChanged(const QString&);
void modelChanged(const QString&) const;

public:
void setModel(std::unique_ptr<QString>);
QString const * const getModel() const;

private:
std::unique_ptr<QString> m_sModel;
Expand Down
1 change: 1 addition & 0 deletions src/Plugins/Plugin_Registry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const QHash<QString, QString> &Plugin_Registry::getRegistry() const

Plugin_Registry::Plugin_Registry() : m_registered{}
{
//TODO: Make some sort of plugin discovery system
m_registered.insert("importLSYS",QString("libplugin_LSYS"));
}

Expand Down
1 change: 0 additions & 1 deletion src/QtGUI/PFCRender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ PFCRender::PFCRender(QQmlApplicationEngine* eng) : p_eng(eng)
{
if(p_clip->getParser().isSet(opt))
{

//TODO: Architecture still not complete, how to handle different plugin types? Import/Export/Modify
QPluginLoader ldr(pluginsDir.absoluteFilePath(pname),this);
QObject* plugin = ldr.instance();
Expand Down

0 comments on commit 12f8ae7

Please sign in to comment.