author | zecke <zecke> | 2004-02-19 02:08:16 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-02-19 02:08:16 (UTC) |
commit | fd12f140cefd20ff7658b695c657c3a6a838da19 (patch) (side-by-side diff) | |
tree | b5f44bdb1e1102888580e57eeb97d11a65d6a236 /libopie2 | |
parent | 34e732b3490bcad2cb05a1252ef5f06b3feef9ad (diff) | |
download | opie-fd12f140cefd20ff7658b695c657c3a6a838da19.zip opie-fd12f140cefd20ff7658b695c657c3a6a838da19.tar.gz opie-fd12f140cefd20ff7658b695c657c3a6a838da19.tar.bz2 |
Add API comment about inline dtor
-rw-r--r-- | libopie2/opiecore/oconfig.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie2/opiecore/oconfig.h b/libopie2/opiecore/oconfig.h index 444d280..becf70d 100644 --- a/libopie2/opiecore/oconfig.h +++ b/libopie2/opiecore/oconfig.h @@ -119,16 +119,17 @@ class OConfigGroupSaver OConfigGroupSaver( OConfig* config, const char *group ) :_config(config), _oldgroup(config->group()) { _config->setGroup( group ); } OConfigGroupSaver( OConfig* config, const QCString &group ) : _config(config), _oldgroup(config->group()) { _config->setGroup( group ); } /** * Destructor. * Restores the last current group. + * @todo make it not inline for bc reasons. See KDE BC guide */ ~OConfigGroupSaver() { _config->setGroup( _oldgroup ); } OConfig* config() { return _config; }; private: OConfig* _config; QString _oldgroup; |