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
SDK
Lokalize
Commits
686e0f1d
Commit
686e0f1d
authored
Aug 02, 2020
by
Laurent Montel
😁
Browse files
Fix compile
parent
2de9b188
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/project/projecttab.cpp
View file @
686e0f1d
...
@@ -412,7 +412,7 @@ void ProjectTab::openFile()
...
@@ -412,7 +412,7 @@ void ProjectTab::openFile()
while
(
--
i
>=
0
)
{
while
(
--
i
>=
0
)
{
if
(
Catalog
::
extIsSupported
(
files
.
at
(
i
)))
{
if
(
Catalog
::
extIsSupported
(
files
.
at
(
i
)))
{
if
(
files
.
at
(
i
).
endsWith
(
QLatin1String
(
".pot"
)))
if
(
files
.
at
(
i
).
endsWith
(
QLatin1String
(
".pot"
)))
emit
fileOpenRequested
(
Project
::
instance
()
->
model
()
->
potToPo
(
files
.
at
(
i
)).
toLocalFile
(),
true
);
emit
fileOpenRequested
(
Project
::
instance
()
->
model
()
->
potToPo
(
QUrl
::
fromLocalFile
(
files
.
at
(
i
))
)
.
toLocalFile
(),
true
);
else
else
emit
fileOpenRequested
(
files
.
at
(
i
),
true
);
emit
fileOpenRequested
(
files
.
at
(
i
),
true
);
}
}
...
...
Write
Preview
Supports
Markdown
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