Browse Source

Replace indent to 4 spaces

adaptive-webui-19844
DoumanAsh 10 years ago
parent
commit
496f843016
  1. 3
      src/searchengine/searchtab.cpp
  2. 2
      src/searchengine/searchtab.h

3
src/searchengine/searchtab.cpp

@ -109,13 +109,16 @@ bool SearchTab::loadColWidthResultsList() { @@ -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;
}

2
src/searchengine/searchtab.h

@ -71,8 +71,6 @@ public: @@ -71,8 +71,6 @@ public:
QTreeView * getCurrentTreeView();
void setRowColor(int row, QString color);
QHeaderView* header() const;
};
#endif

Loading…
Cancel
Save