r24011 by jghali - Fix compiler warnings
scribus-commit
scribus-commit at lists.scribus.net
Sat Sep 12 21:18:07 UTC 2020
Author: jghali
Date: Sat Sep 12 21:18:07 2020
New Revision: 24011
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24011
Log:
Fix compiler warnings
Modified:
trunk/Scribus/scribus/canvasmode.cpp
trunk/Scribus/scribus/printpreviewcreator.cpp
Modified: trunk/Scribus/scribus/canvasmode.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24011&path=/trunk/Scribus/scribus/canvasmode.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode.cpp (original)
+++ trunk/Scribus/scribus/canvasmode.cpp Sat Sep 12 21:18:07 2020
@@ -1092,11 +1092,8 @@
ScribusMainWindow* mainWindow = m_view->m_ScMW;
QList<QMdiSubWindow *> windows;
- QMdiArea* mdiArea = mainWindow->mdiArea;
QMdiSubWindow* w = nullptr;
PrefsManager& prefsManager = PrefsManager::instance();
- OutlinePalette* outlinePalette = mainWindow->outlinePalette;
- CheckDocument* docCheckerPalette = mainWindow->docCheckerPalette;
QMap<QString, QPointer<ScrAction> >& scrActions(mainWindow->scrActions);
if (m_keyRepeat)
Modified: trunk/Scribus/scribus/printpreviewcreator.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24011&path=/trunk/Scribus/scribus/printpreviewcreator.cpp
==============================================================================
--- trunk/Scribus/scribus/printpreviewcreator.cpp (original)
+++ trunk/Scribus/scribus/printpreviewcreator.cpp Sat Sep 12 21:18:07 2020
@@ -52,7 +52,7 @@
void PrintPreviewCreator::setPrintOptions(const PrintOptions& options)
{
m_printOptions = options;
- m_printOptionsChanged;
+ m_printOptionsChanged = true;
}
void PrintPreviewCreator::setShowTransparency(bool showTrans)
More information about the scribus-commit
mailing list