We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cd7a1a commit 76b3eb0Copy full SHA for 76b3eb0
include/eible/ImportSpreadsheet.h
@@ -116,7 +116,7 @@ class EIBLE_EXPORT ImportSpreadsheet : public QObject
116
QIODevice& ioDevice_;
117
118
/// If empty column is encountered than insert defined string.
119
- QString emptyColName_;
+ QString emptyColName_{QStringLiteral("---")};
120
121
static constexpr int NOT_SET_COLUMN{-1};
122
src/ImportSpreadsheet.cpp
@@ -9,9 +9,7 @@
9
#include "Utilities.h"
10
11
ImportSpreadsheet::ImportSpreadsheet(QIODevice& ioDevice)
12
- : ioDevice_{ioDevice},
13
- emptyColName_{QStringLiteral("---")},
14
- zip_{&ioDevice_}
+ : ioDevice_{ioDevice}, zip_{&ioDevice_}
15
{
16
}
17
0 commit comments