From 139c46e146be83c2e40f75d114b16daf2459657c Mon Sep 17 00:00:00 2001 From: Alan Garny Date: Mon, 30 Apr 2018 16:07:34 +1200 Subject: [PATCH] Some minor cleaning up. --- src/mainwindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 1619dcad0b..512b868c94 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -986,8 +986,11 @@ void MainWindow::handleArguments(const QStringList &pArguments) arguments << stringFromPercentEncoding(argument); } - if (!arguments.isEmpty() && mPluginManager->corePlugin()) + if (!arguments.isEmpty() && mPluginManager->corePlugin()) { qobject_cast(mPluginManager->corePlugin()->instance())->handleArguments(arguments); + // Note: if the Core plugin is loaded, then it means it supports the + // Core interface, so no need to check anything... + } // Make sure that our status bar is shown/hidden, depending on its action's // status