Fix lupdate problem for real

The enum class still seems to be the cause of the
problem so this still needs to be worked around.
This commit is contained in:
Martchus 2019-07-07 15:24:51 +02:00
parent e9196404d6
commit e820ebe71f
2 changed files with 4 additions and 8 deletions

View File

@ -63,12 +63,6 @@ namespace QtGui {
* \brief The MainWindow class provides the main window of the widgets-based GUI of the application.
*/
/*
* TRANSLATOR QtGui::MainWindow
* This comment is needed by lupdate to prevent "Qualifying with unknown namespace/class ::MainWindow".
* Even with Qt 5.13.0 this still seems required.
*/
/*!
* \brief Copies the selected cells to the clipboard.
*/

View File

@ -19,10 +19,12 @@ QT_FORWARD_DECLARE_CLASS(QUndoStack)
QT_FORWARD_DECLARE_CLASS(QUndoView)
QT_FORWARD_DECLARE_CLASS(QSettings)
#define PASSWORD_MANAGER_ENUM_CLASS enum class
namespace Io {
enum class EntryType : int;
enum class FieldType : int;
PASSWORD_MANAGER_ENUM_CLASS EntryType : int;
PASSWORD_MANAGER_ENUM_CLASS FieldType : int;
} // namespace Io
#undef PASSWORD_MANAGER_ENUM_CLASS
namespace QtUtilities {
class RecentMenuManager;