summaryrefslogtreecommitdiff
path: root/muse2/muse/app.cpp
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-12-26 18:30:21 +0000
committerFlorian Jung <flo@windfisch.org>2011-12-26 18:30:21 +0000
commit0d8e763949e498c1baf3a2fac7b0b3a406eb0068 (patch)
tree2d4360945d386cf6f34f3e619e4e23e8cb52b3ef /muse2/muse/app.cpp
parent1fe51e45eebbfc2ac198ed4778c9afdb9eaf2ed0 (diff)
Diffstat (limited to 'muse2/muse/app.cpp')
-rw-r--r--muse2/muse/app.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/muse2/muse/app.cpp b/muse2/muse/app.cpp
index 4fd01bf7..d65a071f 100644
--- a/muse2/muse/app.cpp
+++ b/muse2/muse/app.cpp
@@ -2442,7 +2442,10 @@ void MusE::configAppearance()
void MusE::loadTheme(const QString& s)
{
if (style()->objectName() != s)
+ {
QApplication::setStyle(s);
+ style()->setObjectName(s); // p4.0.45
+ }
}
//---------------------------------------------------------
@@ -3021,7 +3024,7 @@ void MusE::updateConfiguration()
void MusE::showBigtime(bool on)
{
if (on && bigtime == 0) {
- bigtime = new MusEGui::BigTime(0);
+ bigtime = new MusEGui::BigTime(this);
bigtime->setPos(0, MusEGlobal::song->cpos(), false);
connect(MusEGlobal::song, SIGNAL(posChanged(int, unsigned, bool)), bigtime, SLOT(setPos(int, unsigned, bool)));
connect(MusEGlobal::muse, SIGNAL(configChanged()), bigtime, SLOT(configChanged()));
@@ -3136,12 +3139,10 @@ QWidget* MusE::bigtimeWindow() { return bigtime; }
void MusE::focusInEvent(QFocusEvent* ev)
{
- //if (audioMixer)
- // audioMixer->raise();
- if (mixer1)
- mixer1->raise();
- if (mixer2)
- mixer2->raise();
+ //if (mixer1) // Removed p4.0.45
+ // mixer1->raise();
+ //if (mixer2)
+ // mixer2->raise();
raise();
QMainWindow::focusInEvent(ev);
}