1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-13 10:32:11 +01:00

[code] Coding style

This commit is contained in:
nowrep 2014-01-25 17:47:21 +01:00
parent fa491cbae4
commit 5230554943
2 changed files with 4 additions and 4 deletions

View File

@ -175,12 +175,12 @@ void Plugins::loadAvailablePlugins()
dirs dirs
#if defined(QZ_WS_X11) && !defined(NO_SYSTEM_DATAPATH) #if defined(QZ_WS_X11) && !defined(NO_SYSTEM_DATAPATH)
#ifdef USE_LIBPATH #ifdef USE_LIBPATH
<< USE_LIBPATH "qupzilla/" << USE_LIBPATH "qupzilla/"
#else #else
<< "/usr/lib/qupzilla/" << "/usr/lib/qupzilla/"
#endif #endif
#endif #endif
<< mApp->PROFILEDIR + "plugins/"; << mApp->PROFILEDIR + "plugins/";
} }
foreach (const QString &dir, dirs) { foreach (const QString &dir, dirs) {

View File

@ -661,7 +661,7 @@ bool TabBar::event(QEvent* event)
switch (event->type()) { switch (event->type()) {
case QEvent::ToolTip: case QEvent::ToolTip:
if (!m_showTabPreviews) { if (!m_showTabPreviews) {
QHelpEvent *ev = static_cast<QHelpEvent*>(event); QHelpEvent* ev = static_cast<QHelpEvent*>(event);
int index = tabAt(ev->pos()); int index = tabAt(ev->pos());
if (index >= 0) { if (index >= 0) {