Removed bad connection

preferencesAboutTextFull
Claudio Valerio 14 years ago
parent 0dc183c6e0
commit 826e4d2c29
  1. 7
      src/core/UBApplication.cpp
  2. 2
      src/core/UBApplication.h

@ -181,11 +181,6 @@ UBApplication::~UBApplication()
staticMemoryCleaner = 0;
}
void UBApplication::showMinimized()
{
mainWindow->showMinimized();
}
int UBApplication::exec(const QString& pFileToImport)
{
QPixmapCache::setCacheLimit(1024 * 100);
@ -228,7 +223,7 @@ int UBApplication::exec(const QString& pFileToImport)
applicationController = new UBApplicationController(boardController->controlView(), boardController->displayView(), mainWindow, staticMemoryCleaner);
connect(mainWindow->actionDesktop, SIGNAL(triggered(bool)), applicationController, SLOT(showDesktop(bool)));
connect(mainWindow->actionHideApplication, SIGNAL(triggered()), this, SLOT(showMinimized()));
connect(mainWindow->actionHideApplication, SIGNAL(triggered()), mainWindow, SLOT(showMinimized()));
mPreferencesController = new UBPreferencesController(mainWindow);

@ -99,9 +99,9 @@ class UBApplication : public QtSingleApplication
private slots:
void closing();
void showMinimized();
private:
void updateProtoActionsState();
QList<QMenu*> mProtoMenus;
bool mIsVerbose;

Loading…
Cancel
Save