Commit 8e686647 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove not necessary QtCore and co

parent 7cc13e58
......@@ -255,7 +255,7 @@ bool USBDevice::parse(const QString &fname) {
// read in the device infos
USBDevice *device = 0;
int start=0, end;
result.replace(QRegExp(QStringLiteral("^\n")),QLatin1String(""));
result.remove(QRegExp(QStringLiteral("^\n")));
while ((end = result.indexOf('\n', start)) > 0)
{
QString line = result.mid(start, end-start);
......
......@@ -20,9 +20,9 @@
#ifndef TOOLTIPMANAGER_H
#define TOOLTIPMANAGER_H
#include <QtCore/QObject>
#include <QObject>
#include <QtCore/QModelIndex>
#include <QModelIndex>
class QLayout;
class QAbstractItemView;
......
Supports Markdown
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