equal
deleted
inserted
replaced
154 Form->ui.pageOptions->leProxyPassword->setText(value("proxy/password", "").toString()); |
154 Form->ui.pageOptions->leProxyPassword->setText(value("proxy/password", "").toString()); |
155 |
155 |
156 { // load colors |
156 { // load colors |
157 QStandardItemModel * model = DataManager::instance().colorsModel(); |
157 QStandardItemModel * model = DataManager::instance().colorsModel(); |
158 for(int i = model->rowCount() - 1; i >= 0; --i) |
158 for(int i = model->rowCount() - 1; i >= 0; --i) |
159 model->item(i)->setData(QColor(value(QString("colors/color%1").arg(i), model->item(i)->data().value<QColor>()).value<QColor>())); |
159 model->item(i)->setData(value(QString("colors/color%1").arg(i), model->item(i)->data())); |
160 } |
160 } |
161 |
161 |
162 { // load binds |
162 { // load binds |
163 for(int i = 0; i < BINDS_NUMBER; i++) |
163 for(int i = 0; i < BINDS_NUMBER; i++) |
164 { |
164 { |