Commit 5f0b5850 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

const'ify pointer

parent e49e4610
Pipeline #56458 canceled with stage
......@@ -359,10 +359,10 @@ void MainWindow::loadPlugins()
QVariant libNameProp ="X-KDE-KontactPartLibraryName"));
QVariant exeNameProp ="X-KDE-KontactPartExecutableName"));
QVariant loadOnStart ="X-KDE-KontactPartLoadOnStart"));
QVariant hasPartProp ="X-KDE-KontactPluginHasPart"));
const QVariant libNameProp ="X-KDE-KontactPartLibraryName"));
const QVariant exeNameProp ="X-KDE-KontactPartExecutableName"));
const QVariant loadOnStart ="X-KDE-KontactPartLoadOnStart"));
const QVariant hasPartProp ="X-KDE-KontactPluginHasPart"));
if (!loadOnStart.isNull() && loadOnStart.toBool()) {
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