Gui: modernize C++: replace 'typedef' with 'using'

This commit is contained in:
wmayer
2022-08-29 14:09:18 +02:00
parent 5240a30431
commit ba8d5ab055
81 changed files with 188 additions and 186 deletions

View File

@@ -1662,7 +1662,7 @@ Gui::PreferencePackManager* Application::prefPackManager()
//**************************************************************************
// Init, Destruct and singleton
typedef void (*_qt_msg_handler_old)(QtMsgType, const QMessageLogContext &, const QString &);
using _qt_msg_handler_old = void (*)(QtMsgType, const QMessageLogContext &, const QString &);
_qt_msg_handler_old old_qtmsg_handler = nullptr;
void messageHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg)