SVN_SILENT: conform to naming conventions
svn path=/trunk/KDE/kdelibs/; revision=946697
This commit is contained in:
parent
4b09b1a59b
commit
183d79adb2
@ -111,9 +111,9 @@ QSize WindowPreview::sizeHint() const
|
||||
qreal left, top, right, bottom;
|
||||
m_background->getMargins(left, top, right, bottom);
|
||||
|
||||
s.scale(windowWidth*windowSizes.size(), windowHeight, Qt::KeepAspectRatio);
|
||||
s.scale(WINDOW_WIDTH*windowSizes.size(), WINDOW_HEIGHT, Qt::KeepAspectRatio);
|
||||
|
||||
s = s + QSize(left+right+windowMargin*(windowSizes.size()-1), top+bottom);
|
||||
s = s + QSize(left+right+WINDOW_MARGIN*(windowSizes.size()-1), top+bottom);
|
||||
|
||||
return s;
|
||||
}
|
||||
|
@ -60,9 +60,9 @@ private:
|
||||
mutable QList<QSize> windowSizes;
|
||||
FrameSvg *m_background;
|
||||
|
||||
static const int windowMargin = 5;
|
||||
static const int windowWidth = 200;
|
||||
static const int windowHeight = 150;
|
||||
static const int WINDOW_MARGIN = 5;
|
||||
static const int WINDOW_WIDTH = 200;
|
||||
static const int WINDOW_HEIGHT = 150;
|
||||
};
|
||||
|
||||
} // namespace Plasma
|
||||
|
Loading…
x
Reference in New Issue
Block a user