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
Kig
Commits
91bfe713
Commit
91bfe713
authored
Aug 10, 2022
by
Laurent Montel
Browse files
Port deprecated methods
parent
eb22849b
Changes
2
Hide whitespace changes
Inline
Side-by-side
filters/filter.cc
View file @
91bfe713
...
...
@@ -79,12 +79,12 @@ void KigFilter::parseError( const QString& explanation ) const
if
(
explanation
.
isEmpty
()
)
KMessageBox
::
error
(
nullptr
,
text
,
title
);
else
KMessageBox
::
detailed
Sorry
(
nullptr
,
text
,
explanation
,
title
);
KMessageBox
::
detailed
Error
(
nullptr
,
text
,
explanation
,
title
);
}
void
KigFilter
::
notSupported
(
const
QString
&
explanation
)
const
{
KMessageBox
::
detailed
Sorry
(
nullptr
,
KMessageBox
::
detailed
Error
(
nullptr
,
i18n
(
"Kig cannot open this file."
),
explanation
,
i18n
(
"Not Supported"
)
);
}
...
...
misc/lists.cc
View file @
91bfe713
...
...
@@ -303,7 +303,7 @@ bool MacroList::load( const QString& f, std::vector<Macro*>& ret, const KigPart&
return
loadNew
(
main
,
ret
,
kdoc
);
else
{
KMessageBox
::
detailed
Sorry
(
KMessageBox
::
detailed
Error
(
nullptr
,
i18n
(
"Kig cannot open the macro file
\"
%1
\"
."
,
f
),
i18n
(
"This file was created by a very old Kig version (pre-0.4). "
"Support for this format has been removed from recent Kig versions. "
...
...
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