mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-29 21:33:13 -08:00
Better handle of parser status messages (critical/not critical)
Use of messageWidget for displaying parser status messages setRootGroup assigns the right label to the root db folder test uses portable QTemporaryFile instead of hardcoded file
This commit is contained in:
1 parent
a7e358c27d
commit
41f9c3d2a1
10 files changed
+150
-124
No files matched your search
@@ -32,7 +32,7 @@ void CsvParserModel::setFilename(const QString& filename) {
|
||||
QString CsvParserModel::getFileInfo(){
|
||||
QString a(QString::number(getFileSize()).append(tr(" byte, ")));
|
||||
a.append(QString::number(getCsvRows())).append(tr(" rows, "));
|
||||
a.append(QString::number((getCsvCols()-1))).append(tr(" columns"));
|
||||
a.append(QString::number(qMax(0, getCsvCols()-1))).append(tr(" columns"));
|
||||
return a;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user