mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-24 23:53:54 -07:00
qt 6.5 compatibility (#4796)
* remove metatypes definitions * deprecation of QApplication::setActiveWindow
This commit is contained in:
parent
1a40102f71
commit
421da882d8
7 changed files with 3 additions and 60 deletions
|
|
@ -30,7 +30,6 @@
|
|||
#include "server_counter.h"
|
||||
#include "server_database_interface.h"
|
||||
#include "server_game.h"
|
||||
#include "server_metatypes.h"
|
||||
#include "server_player.h"
|
||||
#include "server_protocolhandler.h"
|
||||
#include "server_remoteuserinterface.h"
|
||||
|
|
|
|||
|
|
@ -1,26 +0,0 @@
|
|||
#ifndef SERVER_METATYPES_H
|
||||
#define SERVER_METATYPES_H
|
||||
|
||||
#include "pb/commands.pb.h"
|
||||
#include "pb/game_event_container.pb.h"
|
||||
#include "pb/isl_message.pb.h"
|
||||
#include "pb/response.pb.h"
|
||||
#include "pb/room_commands.pb.h"
|
||||
#include "pb/serverinfo_ban.pb.h"
|
||||
#include "pb/serverinfo_game.pb.h"
|
||||
#include "pb/serverinfo_room.pb.h"
|
||||
#include "pb/serverinfo_user.pb.h"
|
||||
|
||||
#include <QMetaType>
|
||||
|
||||
Q_DECLARE_METATYPE(ServerInfo_Ban)
|
||||
Q_DECLARE_METATYPE(ServerInfo_User)
|
||||
Q_DECLARE_METATYPE(ServerInfo_Room)
|
||||
Q_DECLARE_METATYPE(ServerInfo_Game)
|
||||
Q_DECLARE_METATYPE(CommandContainer)
|
||||
Q_DECLARE_METATYPE(Response)
|
||||
Q_DECLARE_METATYPE(GameEventContainer)
|
||||
Q_DECLARE_METATYPE(IslMessage)
|
||||
Q_DECLARE_METATYPE(Command_JoinGame)
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue