Qt MenuOrTextWindow tweak

Funnel all potential "<action> called before we know if Menu or Text"
warnings through a common routine.  Aside from rephrasing a message
which no one should ever see, there's no change in behavior.
This commit is contained in:
PatR
2023-04-23 15:55:38 -07:00
parent 44b9cc5769
commit 4d295a38de
2 changed files with 29 additions and 15 deletions

View File

@@ -179,6 +179,8 @@ private:
NetHackQtWindow* actual;
QWidget *parent;
static void MenuOrText_too_soon_warning(const char *);
public:
NetHackQtMenuOrTextWindow(QWidget *parent = NULL);