PeerListWidget::~PeerListWidget()
{
    saveSettings();
    delete m_proxyModel;
    delete m_listModel;
    delete m_listDelegate;
    if (m_resolver)
        delete m_resolver;
    delete m_copyHotkey;
}
PeerListWidget::~PeerListWidget()
{
    saveSettings();
    delete m_proxyModel;
    delete m_listModel;
    delete m_listDelegate;
    if (m_resolver)
        delete m_resolver;
    delete m_copyHotkey;
}