Skip to content

Commit

Permalink
FIX: Remove debug statements and wrong default style sheet from mne a…
Browse files Browse the repository at this point in the history
…nalyze main window.
  • Loading branch information
LorenzE committed Jun 5, 2020
1 parent c974c78 commit 5c47742
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions applications/mne_analyze/mne_analyze/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,14 +237,11 @@ void MainWindow::createActions()

void MainWindow::onStyleChanged(const QString& sStyle)
{
qDebug() << "MainWindow::onStyleChanged " << qobject_cast<QApplication *>(QApplication::instance());
// Styles are from https://github.com/Alexhuszagh/BreezeStyleSheets
if(QApplication *pApp = qobject_cast<QApplication *>(QApplication::instance())) {
if(sStyle == "default") {
m_sCurrentStyle = "default";
pApp->setStyleSheet("MainWindow::onStyleChanged - hello");
pApp->setStyleSheet("");
} else {
qDebug() << "hello";
m_sCurrentStyle = "dark";
#ifdef WASMBUILD
qWarning() << "[MainWindow::onStyleChanged] Changing the style is not supported in the wasm mode yet.";
Expand Down

0 comments on commit 5c47742

Please sign in to comment.