summaryrefslogtreecommitdiffstats
path: root/depends/settings
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-12-01 16:34:51 +0100
committerPetr Mrázek <peterix@gmail.com>2013-12-01 16:34:51 +0100
commitf56eff04ef4d23b62a6e095eca5d4b9f2b52e023 (patch)
treed7e5ccd335f4be09d11d3d6bb9c333fa6945516c /depends/settings
parenta3fbf05c7b77d513b107e34732b2d04045a05c3c (diff)
downloadMultiMC-f56eff04ef4d23b62a6e095eca5d4b9f2b52e023.tar
MultiMC-f56eff04ef4d23b62a6e095eca5d4b9f2b52e023.tar.gz
MultiMC-f56eff04ef4d23b62a6e095eca5d4b9f2b52e023.tar.lz
MultiMC-f56eff04ef4d23b62a6e095eca5d4b9f2b52e023.tar.xz
MultiMC-f56eff04ef4d23b62a6e095eca5d4b9f2b52e023.zip
Fix (hopefully) library dependency resolution.
Installing libs is now enabled, hardcoded. Enable -Wall for all builds. Fix many warnings and latent bugs.
Diffstat (limited to 'depends/settings')
-rw-r--r--depends/settings/include/keyring.h5
-rw-r--r--depends/settings/src/stubkeyring.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/depends/settings/include/keyring.h b/depends/settings/include/keyring.h
index 747211de..a4da23b1 100644
--- a/depends/settings/include/keyring.h
+++ b/depends/settings/include/keyring.h
@@ -34,6 +34,11 @@ class LIBSETTINGS_EXPORT Keyring
{
public:
/**
+ * @brief virtual dtor
+ */
+ virtual ~Keyring() {};
+
+ /**
* @brief the System Keyring instance
* @return the Keyring instance
*/
diff --git a/depends/settings/src/stubkeyring.h b/depends/settings/src/stubkeyring.h
index f25cefde..1f4b1be0 100644
--- a/depends/settings/src/stubkeyring.h
+++ b/depends/settings/src/stubkeyring.h
@@ -24,6 +24,11 @@
class StubKeyring : public Keyring
{
public:
+ /**
+ * @brief virtual dtor
+ */
+ virtual ~StubKeyring() {};
+
virtual bool storePassword(QString service, QString username, QString password);
virtual QString getPassword(QString service, QString username);
virtual bool hasPassword(QString service, QString username);