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
Multimedia
Kwave
Commits
64e40153
Commit
64e40153
authored
Oct 14, 2021
by
Thomas Eschenbacher
Browse files
(minor improvement for debugging installation problems with menus.config)
parent
77273e87
Changes
1
Hide whitespace changes
Inline
Side-by-side
kwave/FileContext.cpp
View file @
64e40153
...
...
@@ -209,6 +209,15 @@ bool Kwave::FileContext::init(Kwave::TopWidget *top_widget)
));
menufile
.
open
(
QIODevice
::
ReadOnly
);
QTextStream
stream
(
&
menufile
);
if
(
stream
.
atEnd
())
{
qWarning
(
"menu file not found in:"
);
QStringList
locations
=
QStandardPaths
::
standardLocations
(
QStandardPaths
::
GenericDataLocation
);
foreach
(
const
QString
&
location
,
locations
)
{
qWarning
(
" '%s'"
,
DBG
(
location
));
}
}
Q_ASSERT
(
!
stream
.
atEnd
());
if
(
!
stream
.
atEnd
())
parseCommands
(
stream
);
menufile
.
close
();
...
...
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