summaryrefslogtreecommitdiff
path: root/plugingui/mainwindow.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-04-17 15:05:24 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-04-17 15:05:24 +0200
commit2c0fc6f4087442079051c2df1fff7d8fa2ac7b19 (patch)
tree7cd42fd69fa76c263947e95bc2fc2da148269543 /plugingui/mainwindow.cc
parentc59680b1d613187209358951589d022d65c6eaa6 (diff)
Connect drumkit and midimap files as well as loading/status bare updates.
Diffstat (limited to 'plugingui/mainwindow.cc')
-rw-r--r--plugingui/mainwindow.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugingui/mainwindow.cc b/plugingui/mainwindow.cc
index 5c757be..82d98df 100644
--- a/plugingui/mainwindow.cc
+++ b/plugingui/mainwindow.cc
@@ -38,7 +38,9 @@ namespace GUI
MainWindow::MainWindow(Settings& settings, void* native_window)
: Window(native_window)
- , settings(settings)
+ , settings{settings}
+ , settings_notifier{settings}
+ , main_tab{this, settings, settings_notifier}
{
CONNECT(this, sizeChangeNotifier, this, &MainWindow::sizeChanged);
CONNECT(eventHandler(), closeNotifier, this, &MainWindow::closeEventHandler);
@@ -94,7 +96,7 @@ void MainWindow::repaintEvent(RepaintEvent* repaintEvent)
// DrumGizmo logo
painter.drawImage(width() - logo.width() - 16,
height() - logo.height() - 10, logo);
-
+
// DrumGizmo version
std::string version_string("v." + std::string(VERSION));
auto version_x = width() - font.textWidth(version_string) - sidebar.width() - 5;