summaryrefslogtreecommitdiff
path: root/muse2/muse/app.cpp
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-12-22 00:13:14 +0000
committerFlorian Jung <flo@windfisch.org>2011-12-22 00:13:14 +0000
commitb1b88156cb2adf84e752449f2bc803754b520f8c (patch)
tree3d70291cf9671beb4253b23f026212e3350ab004 /muse2/muse/app.cpp
parent1057d7190242cdf9248671b316a398db805f5f56 (diff)
parent1fe51e45eebbfc2ac198ed4778c9afdb9eaf2ed0 (diff)
merged with trunk again (you're committing faster than i can merge ;) )
Diffstat (limited to 'muse2/muse/app.cpp')
-rw-r--r--muse2/muse/app.cpp21
1 files changed, 6 insertions, 15 deletions
diff --git a/muse2/muse/app.cpp b/muse2/muse/app.cpp
index c71e23fc..fcbb8cf3 100644
--- a/muse2/muse/app.cpp
+++ b/muse2/muse/app.cpp
@@ -327,7 +327,7 @@ MusE::MusE(int /*argc*/, char** /*argv*/) : QMainWindow()
mixer2 = 0;
watchdogThread = 0;
editInstrument = 0;
- routingPopupMenu = 0;
+ //routingPopupMenu = 0;
progress = 0;
activeTopWin = NULL;
currentMenuSharingTopwin = NULL;
@@ -1620,18 +1620,6 @@ void MusE::closeEvent(QCloseEvent* event)
printf("MusE: Exiting Metronome\n");
MusECore::exitMetronome();
- // Make sure to delete the menu. ~routingPopupMenu() will NOT be called automatically.
- // Even though it is a child of MusE, it just passes MusE onto the underlying PopupMenus.
- if(routingPopupMenu)
- delete routingPopupMenu;
- #if 0
- if(routingPopupView)
- {
- routingPopupView->clear();
- delete routingPopupView;
- }
- #endif
-
MusEGlobal::song->cleanupForQuit();
// Give midi devices a chance to close first, above in cleanupForQuit.
@@ -1802,18 +1790,20 @@ void MusE::showTransport(bool flag)
viewTransportAction->setChecked(flag);
}
+/*
//---------------------------------------------------------
// getRoutingPopupMenu
// Get the special common routing popup menu. Used (so far)
// by audio strip, midi strip, and midi trackinfo.
//---------------------------------------------------------
-MusEGui::RoutePopupMenu* MusE::getRoutingPopupMenu()
+MusEGui::RoutePopupMenu* MusE::()
{
if(!routingPopupMenu)
routingPopupMenu = new MusEGui::RoutePopupMenu(this);
return routingPopupMenu;
}
+*/
//---------------------------------------------------------
// saveAs
@@ -2494,7 +2484,8 @@ void MusE::changeConfig(bool writeFlag)
//loadStyleSheetFile(MusEGlobal::config.styleSheetFile);
loadTheme(MusEGlobal::config.style);
QApplication::setFont(MusEGlobal::config.fonts[0]);
- loadStyleSheetFile(MusEGlobal::config.styleSheetFile);
+ if(!MusEGlobal::config.styleSheetFile.isEmpty())
+ loadStyleSheetFile(MusEGlobal::config.styleSheetFile);
emit configChanged();
updateConfiguration();