mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Fixes for "krazy"
This commit is contained in:
parent
d11de1855f
commit
c79949ed7f
6 changed files with 5 additions and 7 deletions
|
@ -744,7 +744,7 @@ int KFileItemModelRolesUpdater::subDirectoriesCount(const QString& path)
|
|||
if (dir) {
|
||||
count = 0;
|
||||
struct dirent *dirEntry = 0;
|
||||
while ((dirEntry = ::readdir(dir))) {
|
||||
while ((dirEntry = ::readdir(dir))) { // krazy:exclude=syscalls
|
||||
if (dirEntry->d_name[0] == '.') {
|
||||
if (dirEntry->d_name[1] == '\0') {
|
||||
// Skip "."
|
||||
|
|
|
@ -47,7 +47,7 @@ class LIBDOLPHINPRIVATE_EXPORT KFileItemModelRolesUpdater : public QObject
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
KFileItemModelRolesUpdater(KFileItemModel* model, QObject* parent = 0);
|
||||
explicit KFileItemModelRolesUpdater(KFileItemModel* model, QObject* parent = 0);
|
||||
virtual ~KFileItemModelRolesUpdater();
|
||||
|
||||
void setIconSize(const QSize& size);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//krazy:exclude=copyright (email of Maxim is missing)
|
||||
// krazy:excludeall=copyright (email of Maxim is missing)
|
||||
/*
|
||||
This file is a part of the KDE project
|
||||
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
#include <QHBoxLayout>
|
||||
#include <QKeyEvent>
|
||||
#include <QLabel>
|
||||
#include <QToolButton>
|
||||
#include <QScrollArea>
|
||||
#include <QTimer>
|
||||
#include <QToolButton>
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include "dolphin_detailsmodesettings.h"
|
||||
#include "dolphin_compactmodesettings.h"
|
||||
|
||||
#include <kitemviews/kitemliststyleoption.h>
|
||||
#include <kitemviews/kfileitemlistview.h>
|
||||
#include <kitemviews/kfileitemmodel.h>
|
||||
#include <kitemviews/kitemlistcontroller.h>
|
||||
|
|
|
@ -43,8 +43,8 @@ class LIBDOLPHINPRIVATE_EXPORT DolphinItemListContainer : public KItemListContai
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DolphinItemListContainer(KDirLister* dirLister,
|
||||
QWidget* parent = 0);
|
||||
explicit DolphinItemListContainer(KDirLister* dirLister,
|
||||
QWidget* parent = 0);
|
||||
|
||||
virtual ~DolphinItemListContainer();
|
||||
|
||||
|
|
Loading…
Reference in a new issue