[network/ktorrent] ktorrent/dialogs: Fixed speedlimitsmodel.h not being self-contained

Jack Hill <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 8353d81ae38c3cb88456621665d829dbbc73d85c by Jack Hill.
Committed on 02/08/2026 at 17:29.
Pushed by jackh into branch 'master'.

Fixed speedlimitsmodel.h not being self-contained

M  +2    -1    ktorrent/dialogs/speedlimitsmodel.cpp
M  +2    -0    ktorrent/dialogs/speedlimitsmodel.h
M  +2    -2    ktorrent/dialogs/spinboxdelegate.cpp

https://invent.kde.org/network/ktorrent/-/commit/8353d81ae38c3cb88456621665d829dbbc73d85c

diff --git a/ktorrent/dialogs/speedlimitsmodel.cpp b/ktorrent/dialogs/speedlimitsmodel.cpp
index 8286a54a8..59f641cf7 100644
--- a/ktorrent/dialogs/speedlimitsmodel.cpp
+++ b/ktorrent/dialogs/speedlimitsmodel.cpp
@@ -4,10 +4,11 @@
     SPDX-License-Identifier: GPL-2.0-or-later
 */
 
+#include "speedlimitsmodel.h"
+
 #include <KLocalizedString>
 
 #include "core.h"
-#include "speedlimitsmodel.h"
 #include <interfaces/torrentinterface.h>
 #include <torrent/queuemanager.h>
 #include <util/functions.h>
diff --git a/ktorrent/dialogs/speedlimitsmodel.h b/ktorrent/dialogs/speedlimitsmodel.h
index 12c2205b0..f03de2925 100644
--- a/ktorrent/dialogs/speedlimitsmodel.h
+++ b/ktorrent/dialogs/speedlimitsmodel.h
@@ -9,6 +9,8 @@
 
 #include <QAbstractTableModel>
 
+#include <util/constants.h>
+
 namespace bt
 {
 class TorrentInterface;
diff --git a/ktorrent/dialogs/spinboxdelegate.cpp b/ktorrent/dialogs/spinboxdelegate.cpp
index d35727b1d..392ddbe63 100644
--- a/ktorrent/dialogs/spinboxdelegate.cpp
+++ b/ktorrent/dialogs/spinboxdelegate.cpp
@@ -4,13 +4,13 @@
     SPDX-License-Identifier: GPL-2.0-or-later
 */
 
+#include "spinboxdelegate.h"
+
 #include <QModelIndex>
 #include <QSpinBox>
 
 #include <KLocalizedString>
 
-#include "spinboxdelegate.h"
-
 namespace kt
 {
 SpinBoxDelegate::SpinBoxDelegate(QObject *parent)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.