Changeset 67:578192d6fe64 in SMSSender for src/ui/VCMain/vcmain.cpp


Ignore:
Timestamp:
Feb 7, 2010 4:11:28 PM (12 years ago)
Author:
Sämy Zehnder <saemy.zehnder@…>
Branch:
3.0
Convert:
svn:3639001d-8e34-449c-bb86-3782b86c4877/branches/3.0@66
Message:
  • added synchttp
  • backup before removing these diamond interfaces...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ui/VCMain/vcmain.cpp

    r60 r67  
    2828#include "../completers/bettercompleter.h"
    2929#include "../models/aliascompletionmodel.h"
     30#include "../models/loadedaccountmodel.h"
    3031
    3132#include "../delegates/aligndelegate.h"
     
    3738        /* Accounts */
    3839        accountModel_       = new AccountTreeModel(this);
    39         accountFilterModel_ = new QSortFilterProxyModel(this);
     40        accountFilterModel_ = new LoadedAccountModel(this);
    4041        accountFilterModel_->setSourceModel(accountModel_);
    4142        accountFilterModel_->setSortCaseSensitivity(Qt::CaseInsensitive);
    4243        accountFilterModel_->setDynamicSortFilter(true);
    43         accountFilterModel_->setFilterKeyColumn(AccountTreeModel::ColEnabled);
    44         accountFilterModel_->setFilterRole(Qt::CheckStateRole);
    45         accountFilterModel_->setFilterFixedString("1"); // Get only enabled ones
    4644        accountFilterModel_->sort(AccountTreeModel::ColName, Qt::AscendingOrder);
    4745        ui.lstAccounts->setModel(accountFilterModel_);
Note: See TracChangeset for help on using the changeset viewer.