예제 #1
0
 void walletUnlocked()
 {
     // -- wallet is unlocked, can get at the private keys now
     refreshMessageTable();
     
     parent->reset(); // reload table view
     
     if (parent->proxyModel)
     {
         parent->proxyModel->setFilterRole(false);
         parent->proxyModel->setFilterFixedString("");
         parent->resetFilter();
         parent->proxyModel->setFilterRole(MessageModel::Ambiguous);
         parent->proxyModel->setFilterFixedString("true");
     }
     
     //invalidateFilter()
 }
예제 #2
0
    void walletUnlocked()
    {
        // -- wallet is unlocked, can get at the private keys now
        refreshMessageTable();

#if QT_VERSION <0x050000
        parent->reset(); // reload table view
#else
        parent->beginResetModel();
        parent->endResetModel();
#endif
        if (parent->proxyModel)
        {
            parent->proxyModel->setFilterRole(false);
            parent->proxyModel->setFilterFixedString("");
            parent->resetFilter();
            parent->proxyModel->setFilterRole(MessageModel::Ambiguous);
            parent->proxyModel->setFilterFixedString("true");
        }
        
        //invalidateFilter()
    }