window drawing bugfix
This commit is contained in:
1 parent
6f3556009a
commit
19006fac6c
5 files changed
+36
-27
No files matched your search
+3
-3
@@ -64,10 +64,10 @@ public:
|
||||
enum class Tab { Main, Map, NewGame, PreviousGame };
|
||||
enum class MainAction { Config, Manual, Credits, AIDev, Web, None };
|
||||
|
||||
explicit StartDlg(DirectDlg *direct, QWidget *parent = nullptr);
|
||||
explicit StartDlg(DirectDlg *direct, Background *background);
|
||||
~StartDlg() override;
|
||||
|
||||
Background *background() const { return m_background.get(); }
|
||||
Background *background() const { return m_background; }
|
||||
Languages &languages() { return m_languages; }
|
||||
|
||||
// Called by DirectDlg when a game ends or a map was edited.
|
||||
@@ -163,7 +163,7 @@ private:
|
||||
QString m_lastMap;
|
||||
|
||||
DirectDlg *m_direct;
|
||||
std::unique_ptr<Background> m_background;
|
||||
Background *m_background; // not owned: the dialog is its child window
|
||||
Dpi::Bitmap m_emptyPicture;
|
||||
MiniMap m_miniMap;
|
||||
Languages m_languages;
|
||||
|
||||
Reference in new issue
Block a user