📝 Moved documentation of global QSettings unique_ptr into its header.

main
Isabell Pflug 1 year ago
parent 830cc707fa
commit eabc8aa9df

@ -5,11 +5,6 @@
#include <QSettings>
#include <QStandardPaths>
/*!
* \var QSettings settings
* \brief #QSettings unique pointer.
* Gets initialised inside of \ref main.cpp once from reading the "ThinkPink.ini" configuration file.
*/
std::unique_ptr<QSettings> settings;
/*!

@ -3,6 +3,11 @@
#include <QSettings>
/*!
* \var QSettings settings
* \brief #QSettings unique pointer.
* Gets initialised inside of \ref main.cpp once from reading the "ThinkPink.ini" configuration file.
*/
extern std::unique_ptr<QSettings> settings;
#endif // SETTINGS_HPP

Loading…
Cancel
Save