diff options
author | David Robillard <d@drobilla.net> | 2008-02-22 20:33:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-02-22 20:33:15 +0000 |
commit | 1ca24746c2333e5fd95e364ab1c2febc421cd9a9 (patch) | |
tree | 10b62eaeb579526c7b684d60e38686c0c9ce2e0f /src/Patchage.cpp | |
parent | 4fc3cce4f5246ffcb81cc53a1a57e1ac486dcace (diff) | |
download | patchage-1ca24746c2333e5fd95e364ab1c2febc421cd9a9.tar.gz patchage-1ca24746c2333e5fd95e364ab1c2febc421cd9a9.tar.bz2 patchage-1ca24746c2333e5fd95e364ab1c2febc421cd9a9.zip |
Fix window size/positioning.
git-svn-id: http://svn.drobilla.net/lad/patchage@1156 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Patchage.cpp')
-rw-r--r-- | src/Patchage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp index e41b875..71b4eb7 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -230,6 +230,8 @@ Patchage::Patchage(int argc, char** argv) _canvas->show(); _main_win->present(); + _state_manager->load(_settings_filename); + _main_win->resize( static_cast<int>(_state_manager->get_window_size().x), static_cast<int>(_state_manager->get_window_size().y)); @@ -246,8 +248,6 @@ Patchage::Patchage(int argc, char** argv) #ifdef HAVE_ALSA _alsa_driver = new AlsaDriver(this); #endif - - _state_manager->load(_settings_filename); #ifdef HAVE_LASH _lash_driver = new LashDriver(this, argc, argv); |