SVN_SILENT Fix typos in kdebase
svn path=/trunk/KDE/kdebase/workspace/; revision=875089
This commit is contained in:
parent
a44a34bb3e
commit
f5efd9ca28
9 changed files with 10 additions and 10 deletions
|
@ -108,7 +108,7 @@ QString CompositingPrefs::compositingNotPossibleReason()
|
|||
}
|
||||
|
||||
// This function checks selected compositing setup and returns false if it should not
|
||||
// be used even if explicitly configured (unless checks are overriden).
|
||||
// be used even if explicitly configured (unless checks are overridden).
|
||||
// More checks like broken XRender setups etc. should be added here.
|
||||
bool CompositingPrefs::validateSetup( CompositingType compositingType ) const
|
||||
{
|
||||
|
|
|
@ -308,7 +308,7 @@ void CoverSwitchEffect::paintScreen( int mask, QRegion region, ScreenPaintData&
|
|||
icon->bind();
|
||||
glEnable( GL_BLEND );
|
||||
glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA );
|
||||
// icon takes 80 % of the height of the frame. So each 10 % space left on the top and botton
|
||||
// icon takes 80 % of the height of the frame. So each 10 % space left on the top and bottom
|
||||
QRect iconRect = QRect( frameRect.x() + frameRect.height()*0.1f,
|
||||
frameRect.y() + frameRect.height()*0.1f,
|
||||
frameRect.height()*0.8f,
|
||||
|
|
|
@ -270,7 +270,7 @@ void FlipSwitchEffect::paintScreen( int mask, QRegion region, ScreenPaintData& d
|
|||
stop = false;
|
||||
if( startRequested )
|
||||
{
|
||||
// tabbox allready referenced again - so restart
|
||||
// tabbox already referenced again - so restart
|
||||
start = true;
|
||||
startRequested = false;
|
||||
mActivated = true;
|
||||
|
@ -438,7 +438,7 @@ void FlipSwitchEffect::paintScreen( int mask, QRegion region, ScreenPaintData& d
|
|||
icon->bind();
|
||||
glEnable( GL_BLEND );
|
||||
glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA );
|
||||
// icon takes 80 % of the height of the frame. So each 10 % space left on the top and botton
|
||||
// icon takes 80 % of the height of the frame. So each 10 % space left on the top and bottom
|
||||
QRect iconRect = QRect( frameRect.x() + frameRect.height()*0.1f,
|
||||
frameRect.y() + frameRect.height()*0.1f,
|
||||
frameRect.height()*0.8f,
|
||||
|
|
|
@ -161,7 +161,7 @@ void MakeTransparentEffect::paintWindow( EffectWindow* w, int mask, QRegion regi
|
|||
}
|
||||
}
|
||||
|
||||
// Menues and combos
|
||||
// Menus and combos
|
||||
if( dropdownmenus != 1.0 && w->isDropdownMenu() )
|
||||
data.opacity *= dropdownmenus;
|
||||
if( popupmenus != 1.0 && w->isPopupMenu() )
|
||||
|
|
|
@ -53,7 +53,7 @@ static QColor schemeShadowColor()
|
|||
shadowColor = palette.color(shadowRole);
|
||||
|
||||
// Some styles might set a weird shadow or light color. Make sure we
|
||||
// dont't end up looping forever or we might lock up the desktop!!
|
||||
// do not end up looping forever or we might lock up the desktop!!
|
||||
int iters = 0;
|
||||
while (contrastTooLow(shadowColor, windowColor) && iters < MAX_ITERS)
|
||||
{
|
||||
|
|
|
@ -208,7 +208,7 @@ SnowFlake::SnowFlake(int x, int y, int width, int height, int maxVSpeed, int max
|
|||
vSpeed = random()%maxVSpeed + minVSpeed;
|
||||
|
||||
hSpeed = random()%(maxHSpeed+1);
|
||||
if(random()%2 < 1) hSpeed = -hSpeed; // to create negativ hSpeeds at random
|
||||
if(random()%2 < 1) hSpeed = -hSpeed; // to create negative hSpeeds at random
|
||||
|
||||
rotationAngle = 0;
|
||||
rotationSpeed = random()%4 - 2;
|
||||
|
|
|
@ -96,7 +96,7 @@ KWinCompositingConfig::KWinCompositingConfig(QWidget *parent, const QVariantList
|
|||
connect(ui.animationSpeedCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(changed()));
|
||||
|
||||
// Open the temporary config file
|
||||
// Temporary conf file is used to syncronize effect checkboxes with effect
|
||||
// Temporary conf file is used to synchronize effect checkboxes with effect
|
||||
// selector by loading/saving effects from/to temp config when active tab
|
||||
// changes.
|
||||
mTmpConfigFile.open();
|
||||
|
|
|
@ -1104,7 +1104,7 @@ class KWIN_EXPORT PaintClipper
|
|||
/**
|
||||
* @short Wrapper class for using timelines in KWin effects.
|
||||
*
|
||||
* This class provides an easy and specialised interface for
|
||||
* This class provides an easy and specialized interface for
|
||||
* effects that want a non-linear timeline. Currently, most
|
||||
* it does is wrapping QTimeLine. In the future, this class
|
||||
* could help using physics animations in KWin.
|
||||
|
|
|
@ -2253,7 +2253,7 @@ void Workspace::checkElectricBorder(const QPoint &pos, Time now)
|
|||
electric_push_point = pos;
|
||||
}
|
||||
|
||||
// reset the pointer to find out wether the user is really pushing
|
||||
// reset the pointer to find out whether the user is really pushing
|
||||
// (the direction back from which it came, starting from top clockwise)
|
||||
const int xdiff[ ELECTRIC_COUNT ] = { 0, -1, -1, -1, 0, 1, 1, 1 };
|
||||
const int ydiff[ ELECTRIC_COUNT ] = { 1, 1, 0, -1, -1, -1, 0, 1 };
|
||||
|
|
Loading…
Reference in a new issue