Skip to content

Commit

Permalink
rename focusControl to qmlUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
CyAn84 committed Dec 20, 2024
1 parent 53aa14a commit c973b88
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions client/ui/controllers/focusController.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "focusController.h"
#include "utils/focusControl.h"
#include "utils/qmlUtils.h"

#include <QQmlApplicationEngine>
#include <QQuickWindow>
Expand Down Expand Up @@ -60,11 +60,11 @@ void FocusController::setFocusItem(QQuickItem *item)
{
if (m_focusedItem != item) {
m_focusedItem = item;
emit focusedItemChanged();
qDebug() << "===>> FocusItem is changed to " << item << "!";
} else {
qDebug() << "===>> FocusItem is is the same: " << item << "!";
}
emit focusedItemChanged();
}

void FocusController::setFocusOnDefaultItem()
Expand Down
2 changes: 1 addition & 1 deletion client/ui/controllers/listViewFocusController.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "listViewFocusController.h"
#include "utils/focusControl.h"
#include "utils/qmlUtils.h"

#include <QQuickWindow>

Expand Down
3 changes: 1 addition & 2 deletions client/utils/focusControl.cpp → client/utils/qmlUtils.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "focusControl.h"
#include "utils/focusControl.h"
#include "qmlUtils.h"

#include <QPointF>
#include <QQuickItem>
Expand Down
File renamed without changes.

0 comments on commit c973b88

Please sign in to comment.