Commit 7f314bf2 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Pedantic

parent 6c8dc158
Pipeline #42048 passed with stage
in 9 minutes and 36 seconds
......@@ -111,7 +111,7 @@ public:
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override
{
Q_UNUSED(parent);
Q_UNUSED(parent)
if (row < 0 || row >= pluginList.count()) {
return QModelIndex();
}
......@@ -586,7 +586,7 @@ void IconSidePane::updatePlugins()
void IconSidePane::resizeEvent(QResizeEvent *event)
{
Q_UNUSED(event);
Q_UNUSED(event)
const int newWidth(mNavigator->sizeHint().width());
setFixedWidth(newWidth);
mNavigator->setFixedWidth(newWidth);
......
......@@ -102,7 +102,7 @@ static void loadCommandLineOptions(QCommandLineParser *parser)
int KontactApp::activate(const QStringList &args, const QString &workingDir)
{
Q_UNUSED(workingDir);
Q_UNUSED(workingDir)
QCommandLineParser parser;
loadCommandLineOptions(&parser);
......
......@@ -519,7 +519,7 @@ void MainWindow::addPlugin(KontactInterface::Plugin *plugin)
void MainWindow::partLoaded(KontactInterface::Plugin *plugin, KParts::Part *part)
{
Q_UNUSED(plugin);
Q_UNUSED(plugin)
// See if we have this part already (e.g. due to two plugins sharing it)
if (mPartsStack->indexOf(part->widget()) != -1) {
......
......@@ -46,8 +46,8 @@ bool IntroductionWebEnginePage::acceptNavigationRequest(const QUrl &url, Navigat
if (url.scheme() == QLatin1String("data")) {
return true;
}
Q_UNUSED(type);
Q_UNUSED(isMainFrame);
Q_UNUSED(type)
Q_UNUSED(isMainFrame)
Q_EMIT urlClicked(url);
return false;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment