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
Education
Kiten
Commits
5ebd9566
Commit
5ebd9566
authored
Jan 30, 2021
by
Frédéric Brière
Committed by
Albert Astals Cid
Jan 31, 2021
Browse files
Mark arguments of TODO/empty methods as unused
(Note that the body of ResultsView::print() is simply one big comment.)
parent
c49a0b28
Changes
4
Hide whitespace changes
Inline
Side-by-side
app/resultsview.cpp
View file @
5ebd9566
...
...
@@ -89,6 +89,7 @@ QString ResultsView::generateCSS()
*/
void
ResultsView
::
print
(
const
QString
&
title
)
{
Q_UNUSED
(
title
)
/* KDE4 CHANGE
KPrinter printer;
printer.setFullPage(true);
...
...
lib/DictEdict/dictfileedict.cpp
View file @
5ebd9566
...
...
@@ -373,5 +373,6 @@ bool DictFileEdict::validDictionaryFile( const QString &filename )
//TODO: Actually write this method (validQuery)
bool
DictFileEdict
::
validQuery
(
const
DictQuery
&
query
)
{
Q_UNUSED
(
query
);
return
true
;
}
lib/dictionarymanager.cpp
View file @
5ebd9566
...
...
@@ -324,6 +324,7 @@ void DictionaryManager::loadDictSettings( const QString &dictName, KConfigSkelet
void
DictionaryManager
::
loadSettings
(
const
KConfig
&
config
)
{
Q_UNUSED
(
config
);
//TODO
}
...
...
radselect/radselectview.cpp
View file @
5ebd9566
...
...
@@ -190,6 +190,7 @@ void RadSelectView::listPossibleKanji( const QList<Kanji>& list )
void
RadSelectView
::
loadKanji
(
QString
&
kanji
)
{
Q_UNUSED
(
kanji
);
//TODO: loadKanji method
}
...
...
@@ -197,6 +198,9 @@ void RadSelectView::loadRadicals( const QString &radicals
,
int
strokeMin
,
int
strokeMax
)
{
Q_UNUSED
(
radicals
);
Q_UNUSED
(
strokeMin
);
Q_UNUSED
(
strokeMax
);
//TODO: loadRadicals method
emit
searchModified
();
}
...
...
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