Skip to content

Commit

Permalink
Refs 22912: corrected typo
Browse files Browse the repository at this point in the history
Signed-off-by: Juanjo Garcia <[email protected]>
  • Loading branch information
juanjo4936 committed Mar 6, 2025
1 parent d328d44 commit 703761f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions include/fastdds_monitor/io/ClipboardHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@
class ClipboardHandler : public QObject
{
Q_OBJECT

public:

explicit ClipboardHandler(
QObject *parent = nullptr)
QObject* parent = nullptr)
: QObject(parent)
{
}

// Expose the clipboard object directly to QML
Q_INVOKABLE void setClipboardText(
const QString &text)
const QString& text)
{
QClipboard* clipboard = QGuiApplication::clipboard();
clipboard->setText(text);
Expand Down
4 changes: 2 additions & 2 deletions src/io/ClipboardHandler.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#include <fastdds_monitor/io/ClipboardHandler.h>

ClipboardHandler::ClipboardHandler(
QObject *parent)
QObject* parent)
: QObject(parent)
{
}

void ClipboardHandler::setClipboardText(
const QString &text)
const QString& text)
{
QClipboard* clipboard = QGuiApplication::clipboard();
clipboard->setText(text);
Expand Down

0 comments on commit 703761f

Please sign in to comment.