Use QApplication metadata for persistent storage
authorSoeren Apel <soeren@apelpie.net>
Wed, 17 Sep 2014 20:16:28 +0000 (22:16 +0200)
committerBert Vermeulen <bert@biot.com>
Thu, 18 Sep 2014 09:40:34 +0000 (11:40 +0200)
commit39eb0d45ab6c2910f08a1ad79ac60d188fa9f6ae
tree25869c998ea79d09cbfb75b781c76a41d870d9ac
parent2b76309a072d2493ee1b5293955b72abfd84b8be
Use QApplication metadata for persistent storage

Since the application metadata is set in application.c,
we should use it instead of providing it manually every
time we create a QSettings object.

As I understand it, subclassing QApplication in application.c
is only a workaround for bad Qt behavior. In the event
that it is removed, the application metadata should be moved
so that persistent storage still works.
pv/application.cpp
pv/mainwindow.cpp