[libcalamaresui] Apply coding style

main
Adriaan de Groot 4 years ago
parent fc8830ae4a
commit bc2435eb7d

@ -12,13 +12,13 @@
#include "Branding.h"
#include "utils/Logger.h"
#include <QApplication>
#include <QClipboard>
#include <QFile>
#include <QRegularExpression>
#include <QStringList>
#include <QTcpSocket>
#include <QUrl>
#include <QClipboard>
#include <QApplication>
#include <QStringList>
namespace CalamaresUtils
{
@ -96,11 +96,11 @@ ficheLogUpload( QObject* parent )
if ( nBytesRead >= 8 && pasteUrl.isValid() && pasteUrlRegex.match( pasteUrlStr ).hasMatch() )
{
QClipboard* clipboard = QApplication::clipboard();
clipboard->setText(pasteUrlStr, QClipboard::Clipboard);
clipboard->setText( pasteUrlStr, QClipboard::Clipboard );
if (clipboard->supportsSelection())
if ( clipboard->supportsSelection() )
{
clipboard->setText(pasteUrlStr, QClipboard::Selection);
clipboard->setText( pasteUrlStr, QClipboard::Selection );
}
}
else

@ -10,7 +10,7 @@
#ifndef UTILS_PASTE_H
#define UTILS_PASTE_H
#include<QStringList>
#include <QStringList>
class QObject;
class QString;

Loading…
Cancel
Save