Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
flatpak-qt-creator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
1a985148
Commit
1a985148
authored
Jul 22, 2010
by
ck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BinEditor: Fix file name not being displayed.
parent
99272496
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/plugins/bineditor/bineditorplugin.cpp
src/plugins/bineditor/bineditorplugin.cpp
+4
-5
No files found.
src/plugins/bineditor/bineditorplugin.cpp
View file @
1a985148
...
...
@@ -210,13 +210,12 @@ public:
&&
file
.
open
(
QIODevice
::
ReadOnly
))
{
m_fileName
=
fileName
;
qint64
maxRange
=
64
*
1024
*
1024
;
if
(
file
.
size
()
<=
maxRange
)
{
if
(
file
.
size
()
<=
maxRange
)
m_editor
->
setData
(
file
.
readAll
());
}
else
{
else
m_editor
->
setLazyData
(
offset
,
maxRange
);
m_editor
->
editorInterface
()
->
setDisplayName
(
QFileInfo
(
fileName
).
fileName
());
}
m_editor
->
editorInterface
()
->
setDisplayName
(
QFileInfo
(
fileName
).
fileName
());
file
.
close
();
return
true
;
}
...
...
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