diff --git a/src/lib/plugins/plugins.cpp b/src/lib/plugins/plugins.cpp index 80afe3fe7..3cb862478 100644 --- a/src/lib/plugins/plugins.cpp +++ b/src/lib/plugins/plugins.cpp @@ -175,12 +175,12 @@ void Plugins::loadAvailablePlugins() dirs #if defined(QZ_WS_X11) && !defined(NO_SYSTEM_DATAPATH) #ifdef USE_LIBPATH - << USE_LIBPATH "qupzilla/" + << USE_LIBPATH "qupzilla/" #else - << "/usr/lib/qupzilla/" + << "/usr/lib/qupzilla/" #endif #endif - << mApp->PROFILEDIR + "plugins/"; + << mApp->PROFILEDIR + "plugins/"; } foreach (const QString &dir, dirs) { diff --git a/src/lib/webview/tabbar.cpp b/src/lib/webview/tabbar.cpp index c5460cd1e..24f0f7c2d 100644 --- a/src/lib/webview/tabbar.cpp +++ b/src/lib/webview/tabbar.cpp @@ -661,7 +661,7 @@ bool TabBar::event(QEvent* event) switch (event->type()) { case QEvent::ToolTip: if (!m_showTabPreviews) { - QHelpEvent *ev = static_cast(event); + QHelpEvent* ev = static_cast(event); int index = tabAt(ev->pos()); if (index >= 0) {