Diff of /sqlitebrowser3/launcher/launcherwidget.cpp [4ca0ee] .. [048f54] Maximize Restore

  Switch to side-by-side view

--- a/sqlitebrowser3/launcher/launcherwidget.cpp
+++ b/sqlitebrowser3/launcher/launcherwidget.cpp
@@ -1,6 +1,8 @@
 
 
 #include "launcherwidget.h"
+
+#include <QtCore/QCoreApplication>
 
 #include <QtGui/QIcon>
 #include <QtGui/QLabel>
@@ -11,9 +13,11 @@
 
 
 
-LauncherWidget::LauncherWidget(QWidget *parent) :
+LauncherWidget::LauncherWidget(MainObject *mainObj, QWidget *parent) :
     QWidget(parent)
 {
+
+    //this->mainObject = mainObj;
 
     //** Setup window
     this->setWindowIcon(QIcon(":/icons/favicon"));
@@ -42,7 +46,7 @@
     //*****************************************************************************
     QTreeWidget *treeRecent = new QTreeWidget();
     QTreeWidgetItem *headerItem = treeRecent->headerItem();
-    headerItem->setText(0, "Recent Files");
+    headerItem->setText(0, tr("Recent ??"));
     mainHorizBoxLayout->addWidget(treeRecent);
 
 
@@ -74,4 +78,11 @@
     buttonQuit->setText(tr("Quit"));
     buttonQuit->setIcon(QIcon(":/icons/cancel"));
     buttonBoxLayout->addWidget(buttonQuit);
+    connect(buttonQuit, SIGNAL(clicked()), this, SLOT(on_quit()));
 }
+
+//** on_quit()
+void LauncherWidget::on_quit()
+{
+    QCoreApplication::instance()->quit();
+}