Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Education
LabPlot
Commits
bbcbf98c
Commit
bbcbf98c
authored
Jul 05, 2020
by
Alexander Semke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[sql import] fixed showing the data type in the preview table.
parent
49a001aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/kdefrontend/datasources/ImportSQLDatabaseWidget.cpp
src/kdefrontend/datasources/ImportSQLDatabaseWidget.cpp
+1
-1
No files found.
src/kdefrontend/datasources/ImportSQLDatabaseWidget.cpp
View file @
bbcbf98c
...
...
@@ -360,7 +360,7 @@ void ImportSQLDatabaseWidget::refreshPreview() {
numeric
=
false
;
//header item
QTableWidgetItem
*
item
=
new
QTableWidgetItem
(
m_columnNames
[
i
]
+
QLatin1String
(
" {"
)
+
ENUM_TO_STRING
(
AbstractColumn
,
AbstractColumn
::
ColumnMode
,
mode
)
+
QLatin1String
(
"}"
));
QTableWidgetItem
*
item
=
new
QTableWidgetItem
(
m_columnNames
[
i
]
+
QLatin1String
(
" {"
)
+
ENUM_TO_STRING
(
AbstractColumn
,
ColumnMode
,
mode
)
+
QLatin1String
(
"}"
));
item
->
setTextAlignment
(
Qt
::
AlignLeft
);
item
->
setIcon
(
AbstractColumn
::
iconForMode
(
mode
));
ui
.
twPreview
->
setHorizontalHeaderItem
(
i
,
item
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment