Skip to content

Commit 55b8796

Browse files
committed
more style check changes
1 parent 40a3f98 commit 55b8796

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

src/importexport/imagesexport/iimagesexportconfiguration.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#include "modularity/imoduleinterface.h"
2929

30-
namespace mu::iex::imagesexport{
30+
namespace mu::iex::imagesexport {
3131
class IImagesExportConfiguration : MODULE_EXPORT_INTERFACE
3232
{
3333
INTERFACE_ID(IImagesExportConfiguration)

src/importexport/imagesexport/internal/imagesexportconfiguration.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ void ImagesExportConfiguration::setExportPdfWithTransparentBackground(bool trans
6262
settings()->setSharedValue(EXPORT_PDF_USE_TRANSPARENCY_KEY, Val(transparent));
6363
}
6464

65-
6665
float ImagesExportConfiguration::exportPngDpiResolution() const
6766
{
6867
if (m_customExportPngDpiOverride) {

src/importexport/imagesexport/internal/pdfwriter.cpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Ret PdfWriter::write(INotationPtr notation, io::IODevice& destinationDevice, con
6666
}
6767

6868
const bool TRANSPARENT_BACKGROUND = muse::value(options, OptionKey::TRANSPARENT_BACKGROUND,
69-
Val(configuration()->exportPdfWithTransparentBackground())).toBool();
69+
Val(configuration()->exportPdfWithTransparentBackground())).toBool();
7070

7171
INotationPainting::Options opt;
7272
opt.deviceDpi = pdfWriter.logicalDpiX();
@@ -112,8 +112,7 @@ Ret PdfWriter::writeList(const INotationPtrList& notations, io::IODevice& destin
112112
}
113113

114114
const bool TRANSPARENT_BACKGROUND = muse::value(options, OptionKey::TRANSPARENT_BACKGROUND,
115-
Val(configuration()->exportPdfWithTransparentBackground())).toBool();
116-
115+
Val(configuration()->exportPdfWithTransparentBackground())).toBool();
117116

118117
INotationPainting::Options opt;
119118
opt.deviceDpi = pdfWriter.logicalDpiX();
@@ -132,7 +131,6 @@ Ret PdfWriter::writeList(const INotationPtrList& notations, io::IODevice& destin
132131
}
133132

134133
notation->painting()->paintPdf(&painter, opt);
135-
136134
}
137135

138136
painter.endDraw();

src/project/view/exportdialogmodel.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class ExportDialogModel : public QAbstractListModel, public muse::async::Asyncab
6969
Q_PROPERTY(int pdfResolution READ pdfResolution WRITE setPdfResolution NOTIFY pdfResolutionChanged)
7070
Q_PROPERTY(bool pdfTransparentBackground READ pdfTransparentBackground
7171
WRITE setPdfTransparentBackground NOTIFY pdfTransparentBackgroundChanged)
72-
72+
7373
Q_PROPERTY(int pngResolution READ pngResolution WRITE setPngResolution NOTIFY pngResolutionChanged)
7474
Q_PROPERTY(
7575
bool pngTransparentBackground READ pngTransparentBackground WRITE setPngTransparentBackground NOTIFY pngTransparentBackgroundChanged)

0 commit comments

Comments
 (0)