Skip to content

Commit

Permalink
1.9.10; style
Browse files Browse the repository at this point in the history
  • Loading branch information
issakomi committed May 18, 2024
1 parent caabbef commit fb45b95
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 19 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ project(ALIZAMS)
#
#
if(APPLE)
set(ALIZAMS_OSX_BUNDLE_VERSION "1.9.9")
set(ALIZAMS_OSX_BUNDLE_VERSION "1.9.10")
endif()

# Qt major version, required.
Expand Down
2 changes: 1 addition & 1 deletion alizams_version.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef ALIZAMS_VERSION
#define ALIZAMS_VERSION "1.9.9"
#define ALIZAMS_VERSION "1.9.10"
#endif

4 changes: 2 additions & 2 deletions debian-10/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alizams (1.9.9-1) stable; urgency=low
alizams (1.9.10-1) stable; urgency=low

* Initial upload to Debian. Closes: #999999.

-- Replace Maintainer <[email protected]> Mon, 22 Apr 2024 00:00:00 -0000
-- Replace Maintainer <[email protected]> Sat, 18 May 2024 00:00:00 -0000
4 changes: 2 additions & 2 deletions debian-12-qt5/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alizams (1.9.9-1) stable; urgency=low
alizams (1.9.10-1) stable; urgency=low

* Initial upload to Debian. Closes: #999999.

-- Replace Maintainer <[email protected]> Mon, 22 Apr 2024 00:00:00 -0000
-- Replace Maintainer <[email protected]> Sat, 18 May 2024 00:00:00 -0000
4 changes: 2 additions & 2 deletions debian-12-qt6/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alizams (1.9.9-1) stable; urgency=low
alizams (1.9.10-1) stable; urgency=low

* Initial upload to Debian. Closes: #999999.

-- Replace Maintainer <[email protected]> Mon, 22 Apr 2024 00:00:00 -0000
-- Replace Maintainer <[email protected]> Sat, 18 May 2024 00:00:00 -0000
2 changes: 1 addition & 1 deletion fedora-34/alizams.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: alizams
Version: 1.9.9
Version: 1.9.10
Release: 1%{?dist}
Summary: Aliza MS DICOM Viewer
License: GPLv3
Expand Down
19 changes: 9 additions & 10 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ int main(int argc, char * argv[])
#endif
#endif
#endif
bool force_disable_opengl = false;
bool metadata_only = false;
bool metadata_series_only = false;
int count = 1;
bool ok3d = false;
bool hide_zoom = false;
bool force_disable_opengl{};
bool metadata_only{};
bool metadata_series_only{};
int count{1};
bool ok3d{};
bool hide_zoom{};
while (count < argc)
{
if (!strcmp(argv[count], "-nogl"))
Expand Down Expand Up @@ -199,7 +199,7 @@ int main(int argc, char * argv[])
// clang-format off
#if (defined PRINT_HOST_INFO && PRINT_HOST_INFO==1)
{
const unsigned int endian = 1;
const unsigned int endian{1};
if (*((const unsigned char*)&endian) == 0)
{
std::cout << "System is big-endian\n";
Expand Down Expand Up @@ -387,7 +387,7 @@ int main(int argc, char * argv[])
#endif
//
{
double app_font_pt = 0.0;
double app_font_pt{};
QSettings settings(
QSettings::IniFormat,
QSettings::UserScope,
Expand Down Expand Up @@ -518,8 +518,7 @@ int main(int argc, char * argv[])
QString::fromLatin1(
QVariant(ALIZAMS_VERSION).toByteArray().constData()) +
QString("\n\n");
QSplashScreen * splash =
new QSplashScreen(QPixmap(":/bitmaps/empty_splash.png"));
QSplashScreen * splash = new QSplashScreen(QPixmap(":/bitmaps/empty_splash.png"));
splash->setWindowFlags(Qt::SplashScreen|Qt::WindowStaysOnTopHint);
splash->setAttribute(Qt::WA_DeleteOnClose);
splash->show();
Expand Down

0 comments on commit fb45b95

Please sign in to comment.