Commit ccbc1343545cb93acb4e3cfb02fc4bc2a4af4960

Try to fix an obscure crash in the config dialog code.

I'm not really sure how this crash could happen in the first place,
and neither can I reproduce it. However, the problem seems to be a
dangling pointer, so our SmartPointerList should cure that.

BUG: 229243
  
2121
2222#include <kconfigdialog.h>
2323
24#include "SmartPointerList.h"
2425
26
2527class Amarok2ConfigDialog : public KConfigDialog
2628{
2729 Q_OBJECT
5858 bool isDefault();
5959
6060 private:
61 QList<ConfigDialogBase*> m_pageList;
61 SmartPointerList<ConfigDialogBase> m_pageList;
6262 QMap<ConfigDialogBase*, KPageWidgetItem*> m_pageMap;
6363
6464 static QString s_currentPage;