void FolderView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles)
{
- Q_UNUSED(topLeft);
- Q_UNUSED(bottomRight);
- Q_UNUSED(roles);
-
emit dataChanged();
+
+ QTableView::dataChanged(topLeft, bottomRight, roles);
}
void FolderView::currentChanged(const QModelIndex ¤t, const QModelIndex &previous)
{
- Q_UNUSED(previous);
-
emit currentChanged(m_model.fileInfo(current).absoluteFilePath());
+
+ QTableView::currentChanged(current, previous);
}
void FolderView::mousePressEvent(QMouseEvent *event)
ui->statusBar->showMessage(folderView()->currentItem().absoluteFilePath());\r
}\r
\r
+ if (old == ui->searchBox1 || old == ui->searchBox2) {\r
+ old->setVisible(false);\r
+ }\r
+\r
updateActions();\r
}\r
\r