mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-08-26 05:32:05 +00:00
Replace indent to 4 spaces
This commit is contained in:
parent
c1e2ddc843
commit
496f843016
@ -109,13 +109,16 @@ bool SearchTab::loadColWidthResultsList() {
|
||||
QString line = Preferences::instance()->getSearchColsWidth();
|
||||
if (line.isEmpty())
|
||||
return false;
|
||||
|
||||
QStringList width_list = line.split(' ');
|
||||
if (width_list.size() > SearchListModel->columnCount())
|
||||
return false;
|
||||
|
||||
unsigned int listSize = width_list.size();
|
||||
for (unsigned int i=0; i<listSize; ++i) {
|
||||
resultsBrowser->header()->resizeSection(i, width_list.at(i).toInt());
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -71,8 +71,6 @@ public:
|
||||
QTreeView * getCurrentTreeView();
|
||||
void setRowColor(int row, QString color);
|
||||
QHeaderView* header() const;
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user