Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Cantor
Commits
c8aab38f
Commit
c8aab38f
authored
Sep 01, 2022
by
Laurent Montel
Browse files
Add missing &
parent
423f9a64
Pipeline
#225706
passed with stage
in 5 minutes and 15 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/lib/session.cpp
View file @
c8aab38f
...
...
@@ -344,7 +344,7 @@ void Cantor::Session::updateEnabledGraphicPackages(const QList<Cantor::GraphicPa
else
{
QList
<
GraphicPackage
>
packagesExceptIgnored
;
for
(
const
GraphicPackage
package
:
newEnabledPackages
)
for
(
const
GraphicPackage
&
package
:
newEnabledPackages
)
if
(
d
->
ignorableGraphicPackageIds
.
contains
(
package
.
id
())
==
false
)
packagesExceptIgnored
.
append
(
package
);
...
...
@@ -361,7 +361,7 @@ void Cantor::Session::updateEnabledGraphicPackages(const QList<Cantor::GraphicPa
unavailablePackages
.
append
(
package
);
}
for
(
const
GraphicPackage
package
:
d
->
enabledGraphicPackages
)
for
(
const
GraphicPackage
&
package
:
d
->
enabledGraphicPackages
)
if
(
GraphicPackage
::
findById
(
package
,
willEnabledPackages
)
==
-
1
)
evaluateExpression
(
package
.
disableSupportCommand
(),
Cantor
::
Expression
::
DeleteOnFinish
,
true
);
...
...
src/markdownentry.cpp
View file @
c8aab38f
...
...
@@ -532,7 +532,7 @@ bool MarkdownEntry::eventFilter(QObject* object, QEvent* event)
{
QList
<
QByteArray
>
supportedFormats
=
QImageReader
::
supportedImageFormats
();
for
(
const
QUrl
url
:
mimeData
->
urls
())
for
(
const
QUrl
&
url
:
mimeData
->
urls
())
{
const
QString
filename
=
url
.
toLocalFile
();
QFileInfo
info
(
filename
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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