r19597 by jghali - #12778, patch 07/17: fix a series of warnings from clang
scribus-commit
scribus-commit at lists.scribus.net
Fri Oct 17 23:00:31 UTC 2014
Author: jghali
Date: Fri Oct 17 23:00:30 2014
New Revision: 19597
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19597
Log:
#12778, patch 07/17: fix a series of warnings from clang
Modified:
trunk/Scribus/scribus/ui/newfile.cpp
trunk/Scribus/scribus/ui/newfile.h
Modified: trunk/Scribus/scribus/ui/newfile.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19597&path=/trunk/Scribus/scribus/ui/newfile.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/newfile.cpp (original)
+++ trunk/Scribus/scribus/ui/newfile.cpp Fri Oct 17 23:00:30 2014
@@ -83,7 +83,7 @@
maxY = maxSizeY+10;
}
-const QSize PageLayoutsWidget::minimumSizeHint()
+QSize PageLayoutsWidget::minimumSizeHint() const
{
return QSize(maxX, maxY);
}
Modified: trunk/Scribus/scribus/ui/newfile.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19597&path=/trunk/Scribus/scribus/ui/newfile.h
==============================================================================
--- trunk/Scribus/scribus/ui/newfile.h (original)
+++ trunk/Scribus/scribus/ui/newfile.h Fri Oct 17 23:00:30 2014
@@ -44,7 +44,7 @@
PageLayoutsWidget(QWidget* parent);
~PageLayoutsWidget() {};
void arrangeIcons();
- const QSize minimumSizeHint();
+ QSize minimumSizeHint() const;
int maxX;
int maxY;
};
More information about the scribus-commit
mailing list