GameList: Mark search directory cells as read-only

This commit is contained in:
Silent 2022-05-22 23:13:26 +02:00 committed by refractionpcsx2
parent 2aec91d8c0
commit 364e6a1341
2 changed files with 1 additions and 2 deletions

View File

@ -96,6 +96,7 @@ void GameListSettingsWidget::addPathToTable(const std::string& path, bool recurs
QTableWidgetItem* item = new QTableWidgetItem();
item->setText(QString::fromStdString(path));
item->setFlags(item->flags() & ~(Qt::ItemIsEditable));
m_ui.searchDirectoryList->setItem(row, 0, item);
QCheckBox* cb = new QCheckBox(m_ui.searchDirectoryList);

View File

@ -21,8 +21,6 @@
class SettingsDialog;
class GameListSearchDirectoriesModel;
class GameListSettingsWidget : public QWidget
{
Q_OBJECT