Skip to content

Commit

Permalink
Followup unreg. QHeaderView*: just include in uistatemanager.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkdab authored and Waqar144 committed Feb 27, 2024
1 parent fa634e7 commit f2a7751
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions client/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
#include <QApplication>
#include <QStringList>

#include <QHeaderView>

using namespace GammaRay;

int main(int argc, char **argv)
Expand All @@ -45,8 +43,6 @@ int main(int argc, char **argv)
Translator::loadStandAloneTranslations();
ClientConnectionManager::init();

qRegisterMetaType<QHeaderView *>("QHeaderView*");

QUrl serverUrl;
if (app.arguments().size() == 2) {
serverUrl = QUrl::fromUserInput(app.arguments().at(1));
Expand Down
1 change: 0 additions & 1 deletion ui/uistatemanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#endif
#include <QMainWindow>
#include <QSplitter>
#include <QHeaderView>
#include <QSettings>
#include <QEvent>
#include <QScreen>
Expand Down
2 changes: 1 addition & 1 deletion ui/uistatemanager.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
#include <QVector>
#include <QHash>
#include <QMetaMethod>
#include <QHeaderView>

QT_BEGIN_NAMESPACE
class QWidget;
class QSplitter;
class QSettings;
class QHeaderView;
QT_END_NAMESPACE

namespace GammaRay {
Expand Down

0 comments on commit f2a7751

Please sign in to comment.