[Sv1-commits] SF.net SVN: sv1: [650] sonic-visualiser/tags/sv1-v1.0/sv/main/MainWindow. cpp
Brought to you by:
cannam
From: <ca...@us...> - 2007-05-11 11:08:38
|
Revision: 650 http://svn.sourceforge.net/sv1/?rev=650&view=rev Author: cannam Date: 2007-05-11 04:08:36 -0700 (Fri, 11 May 2007) Log Message: ----------- * Fix (workaround) failure to show waveform in overview widget on Windows Modified Paths: -------------- sonic-visualiser/tags/sv1-v1.0/sv/main/MainWindow.cpp Modified: sonic-visualiser/tags/sv1-v1.0/sv/main/MainWindow.cpp =================================================================== --- sonic-visualiser/tags/sv1-v1.0/sv/main/MainWindow.cpp 2007-05-10 16:52:04 UTC (rev 649) +++ sonic-visualiser/tags/sv1-v1.0/sv/main/MainWindow.cpp 2007-05-11 11:08:36 UTC (rev 650) @@ -13,7 +13,7 @@ COPYING included with this distribution for more information. */ -#include "version.h" +#include "../version.h" #include "MainWindow.h" #include "document/Document.h" @@ -167,7 +167,12 @@ m_overview = new Overview(frame); m_overview->setViewManager(m_viewManager); m_overview->setFixedHeight(40); +#ifndef _WIN32 + // For some reason, the contents of the overview never appear if we + // make this setting on Windows. I have no inclination at the moment + // to track down the reason why. m_overview->setFrameStyle(QFrame::StyledPanel | QFrame::Sunken); +#endif connect(m_overview, SIGNAL(contextHelpChanged(const QString &)), this, SLOT(contextHelpChanged(const QString &))); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |