Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
KmPlot
Commits
21caef7d
Commit
21caef7d
authored
Aug 09, 2021
by
Laurent Montel
😁
Browse files
mimeData signature was changed in qt6 (ported by script)
parent
f98fba70
Changes
2
Show whitespace changes
Inline
Side-by-side
kmplot/functioneditor.cpp
View file @
21caef7d
...
...
@@ -749,7 +749,11 @@ FunctionListWidget::FunctionListWidget( QWidget * parent )
}
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QMimeData
*
FunctionListWidget
::
mimeData
(
const
QList
<
QListWidgetItem
*>
items
)
const
#else
QMimeData
*
FunctionListWidget
::
mimeData
(
const
QList
<
QListWidgetItem
*>
&
items
)
const
#endif
{
QDomDocument
doc
(
QStringLiteral
(
"kmpdoc"
)
);
QDomElement
root
=
doc
.
createElement
(
QStringLiteral
(
"kmpdoc"
)
);
...
...
kmplot/functioneditor.h
View file @
21caef7d
...
...
@@ -196,7 +196,11 @@ class FunctionListWidget : public QListWidget
protected:
void
dragEnterEvent
(
QDragEnterEvent
*
event
)
Q_DECL_OVERRIDE
;
void
dropEvent
(
QDropEvent
*
event
)
Q_DECL_OVERRIDE
;
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QMimeData
*
mimeData
(
const
QList
<
QListWidgetItem
*>
items
)
const
Q_DECL_OVERRIDE
;
#else
QMimeData
*
mimeData
(
const
QList
<
QListWidgetItem
*>
&
items
)
const
Q_DECL_OVERRIDE
;
#endif
QStringList
mimeTypes
()
const
Q_DECL_OVERRIDE
;
};
...
...
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