Commit 8733306c authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

fixing warnings

parent e78ff6ba
...@@ -465,10 +465,11 @@ void ContextPaneWidgetImage::setPixmap(const QString &fileName) ...@@ -465,10 +465,11 @@ void ContextPaneWidgetImage::setPixmap(const QString &fileName)
if (QFile(fileName).exists()) { if (QFile(fileName).exists()) {
if (fileName.endsWith(QLatin1String("sci"))) { if (fileName.endsWith(QLatin1String("sci"))) {
QString pixmapFileName; QString pixmapFileName;
int left = -1; int left = 0;
int right = -1; int right = 0;
int top = -1; int top = 0;
int bottom = -1; int bottom = 0;
Qt::TileRule horizontalTileRule; Qt::TileRule horizontalTileRule;
Qt::TileRule verticalTileRule; Qt::TileRule verticalTileRule;
if (parseSciFile(fileName, pixmapFileName, left, right, top, bottom, horizontalTileRule, verticalTileRule)) { if (parseSciFile(fileName, pixmapFileName, left, right, top, bottom, horizontalTileRule, verticalTileRule)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment