Skip to content

Commit

Permalink
Final changes for release
Browse files Browse the repository at this point in the history
  • Loading branch information
dboun committed May 16, 2019
1 parent 49cf504 commit 15873d9
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion core/base/gui/DataTreeView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ void DataTreeView::SubjectAddedHandler(long uid)

// Setup a layout for everything
QHBoxLayout* hLayout = new QHBoxLayout();
hLayout->setContentsMargins(7,9,7,9);
hLayout->setContentsMargins(7,9,14,9);
hLayout->setSpacing(15);
hLayout->addWidget(subjectNameLabel, Qt::AlignLeft);
hLayout->addWidget(progressBarAndText, Qt::AlignRight);
Expand Down
2 changes: 1 addition & 1 deletion core/modules/gui/MitkImageViewer/MitkImageViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ MitkImageViewer::MitkImageViewer(QWidget *parent) : ImageViewerBase(parent),
m_MitkWidget->SetWidgetPlanesVisibility(true);

//logo
QFileInfo fileInfo(qApp->applicationDirPath() + "/../../../src/resources/cbica-logo.jpg");
QFileInfo fileInfo(qApp->applicationDirPath() + "/cbica-logo.jpg");
std::string logoPath = fileInfo.absoluteFilePath().toStdString();
if (fileInfo.exists() && fileInfo.isReadable())
{
Expand Down
6 changes: 3 additions & 3 deletions scripts/MLL_NSIS_SCRIPT.nsi
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
; The name of the installer
Name "MLL_v0.3_installer"
Name "MLL_v0.7_installer"

; The file to write
OutFile "MLL_v0.3_installer.exe"
OutFile "MLL_v0.7_installer.exe"

; The default installation directory
InstallDir "C:\MLL\0.3.0"
InstallDir "C:\MLL\v0.7"

; Registry key to check for directory (so if you install again, it will
; overwrite the old one automatically)
Expand Down
3 changes: 3 additions & 0 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ MainWindow::MainWindow(QWidget *parent) :
connect(ui->actionToggle_fullscreen, SIGNAL(triggered()),
this, SLOT(OnToggleFullscreen())
);

// Temporarily turn off Help in menu
delete ui->menuHelp;
}

MainWindow::~MainWindow()
Expand Down
6 changes: 3 additions & 3 deletions src/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
<x>0</x>
<y>0</y>
<width>986</width>
<height>26</height>
<height>17</height>
</rect>
</property>
<property name="styleSheet">
Expand All @@ -248,15 +248,15 @@
</property>
<addaction name="actionToggle_fullscreen"/>
</widget>
<widget class="QMenu" name="menuAbout">
<widget class="QMenu" name="menuHelp">
<property name="title">
<string>Help</string>
</property>
<addaction name="actionAbout"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuView"/>
<addaction name="menuAbout"/>
<addaction name="menuHelp"/>
</widget>
<action name="actionOpen_Dicom">
<property name="text">
Expand Down

0 comments on commit 15873d9

Please sign in to comment.