diff options
| author | Thomas Tanner <trtanner@btinternet.com> | 2015-11-24 09:45:45 +0000 |
|---|---|---|
| committer | Thomas Tanner <trtanner@btinternet.com> | 2015-11-24 09:45:45 +0000 |
| commit | a7ef08965097fb4b863c99de2d6291733b4bc3c0 (patch) | |
| tree | d84a3c9e3eaf3687aab6ce3dcc5c528036d659d9 /src/profile.h | |
| parent | 37c3bea7dd5a562a97c00b740103cc2868b3013b (diff) | |
Use IPluginGame::getIniFiles throughout.
Also removed the default constructor from Profile class and stopped registering it as a QMetaObject (which it is the only reason it is there).
Diffstat (limited to 'src/profile.h')
| -rw-r--r-- | src/profile.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/profile.h b/src/profile.h index 9c8139e9..e9edca56 100644 --- a/src/profile.h +++ b/src/profile.h @@ -24,17 +24,16 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include "modinfo.h" #include <iprofile.h> #include <delayedfilewriter.h> + #include <QString> #include <QDir> -#include <QMetaType> #include <QSettings> + #include <vector> #include <tuple> -namespace MOBase { - class IPluginGame; -} +namespace MOBase { class IPluginGame; } /** * @brief represents a profile @@ -51,12 +50,6 @@ public: public: /** - * @brief default constructor - * @todo This constructor initialised nothing, the resulting object is not usable - **/ - Profile(); - - /** * @brief constructor * * This constructor is used to create a new profile so it is to be assumed a profile @@ -320,7 +313,5 @@ private: }; -Q_DECLARE_METATYPE(Profile) - #endif // PROFILE_H |
