| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -244,7 +244,7 @@ QVariant SqliteTableModel::data(const QModelIndex &index, int role) const | |||
| 244 | 244 | while(index.row() >= m_data.size() && canFetchMore()) | |
| 245 | 245 | const_cast<SqliteTableModel*>(this)->fetchMore(); // Nothing evil to see here, move along | |
| 246 | 246 | ||
| 247 | - if(role == Qt::DisplayRole && isBinary(index)) | ||
| 247 | + if(role == Qt::DisplayRole && m_data.at(index.row()).at(index.column()).left(1024).contains('\0')) | ||
| 248 | 248 | return "BLOB"; | |
| 249 | 249 | else if(role == Qt::DisplayRole && m_data.at(index.row()).at(index.column()).isNull()) | |
| 250 | 250 | return PreferencesDialog::getSettingsValue("databrowser", "null_text").toString(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments