diff --git a/pcsx2-qt/Settings/GameListSettingsWidget.cpp b/pcsx2-qt/Settings/GameListSettingsWidget.cpp index a0de8dd250..29632a4d51 100644 --- a/pcsx2-qt/Settings/GameListSettingsWidget.cpp +++ b/pcsx2-qt/Settings/GameListSettingsWidget.cpp @@ -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); diff --git a/pcsx2-qt/Settings/GameListSettingsWidget.h b/pcsx2-qt/Settings/GameListSettingsWidget.h index 70deb80cd2..b5854d8564 100644 --- a/pcsx2-qt/Settings/GameListSettingsWidget.h +++ b/pcsx2-qt/Settings/GameListSettingsWidget.h @@ -21,8 +21,6 @@ class SettingsDialog; -class GameListSearchDirectoriesModel; - class GameListSettingsWidget : public QWidget { Q_OBJECT