Skip to content

Commit

Permalink
cleanup: Don't use <header.h> for local includes.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Nov 21, 2024
1 parent ff5b9aa commit d6053ac
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions src/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ cc_library(
}),
hdrs = glob(["**/*.h"]) + [":version"],
copts = [
"-Iqtox",
"-I$(GENDIR)/qtox",
"-iquoteqtox",
"-iquote$(GENDIR)/qtox",
] + select({
"//tools/config:freebsd": [],
"//tools/config:linux": ["-fPIC"],
Expand Down Expand Up @@ -261,8 +261,8 @@ cc_library(
name = "main",
srcs = ["main.cpp"],
copts = [
"-Iqtox",
"-I$(GENDIR)/qtox",
"-iquoteqtox",
"-iquote$(GENDIR)/qtox",
] + select({
"//tools/config:freebsd": [],
"//tools/config:linux": ["-fPIC"],
Expand Down
4 changes: 2 additions & 2 deletions src/chatlog/content/filetransferwidget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -443,12 +443,12 @@
<customwidget>
<class>CroppingLabel</class>
<extends>QLabel</extends>
<header location="global">src/widget/tool/croppinglabel.h</header>
<header>src/widget/tool/croppinglabel.h</header>
</customwidget>
<customwidget>
<class>ImagePreviewButton</class>
<extends>QPushButton</extends>
<header location="global">src/widget/imagepreviewwidget.h</header>
<header>src/widget/imagepreviewwidget.h</header>
</customwidget>
</customwidgets>
<tabstops>
Expand Down
2 changes: 1 addition & 1 deletion src/core/toxcall.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "audio/iaudiocontrol.h"
#include "audio/iaudiosink.h"
#include "audio/iaudiosource.h"
#include <src/core/toxpk.h>
#include "src/core/toxpk.h"
#include <tox/toxav.h>

#include <QMap>
Expand Down
4 changes: 2 additions & 2 deletions src/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1076,12 +1076,12 @@
<customwidget>
<class>CroppingLabel</class>
<extends>QLabel</extends>
<header location="global">src/widget/tool/croppinglabel.h</header>
<header>src/widget/tool/croppinglabel.h</header>
</customwidget>
<customwidget>
<class>NotificationScrollArea</class>
<extends>QScrollArea</extends>
<header location="global">src/widget/notificationscrollarea.h</header>
<header>src/widget/notificationscrollarea.h</header>
<container>1</container>
</customwidget>
</customwidgets>
Expand Down
2 changes: 1 addition & 1 deletion src/model/status.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright © 2024 The TokTok team.
*/

#include <src/model/status.h>
#include "status.h"

#include <QDebug>
#include <QObject>
Expand Down
2 changes: 1 addition & 1 deletion src/widget/form/profileform.ui
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ Profile does not contain your history.</string>
<customwidget>
<class>CroppingLabel</class>
<extends>QLabel</extends>
<header location="global">src/widget/tool/croppinglabel.h</header>
<header>src/widget/tool/croppinglabel.h</header>
</customwidget>
</customwidgets>
<tabstops>
Expand Down

0 comments on commit d6053ac

Please sign in to comment.