diff --git a/clients/plastik/plastikbutton.cpp b/clients/plastik/plastikbutton.cpp index fdf86025f0..f7d557fef0 100644 --- a/clients/plastik/plastikbutton.cpp +++ b/clients/plastik/plastikbutton.cpp @@ -50,7 +50,7 @@ PlastikButton::PlastikButton(ButtonType type, PlastikClient *parent) { setAttribute(Qt::WA_NoSystemBackground); - // no need to reset here as the button will be resetted on first resize. + // no need to reset here as the button will be reseted on first resize. animTmr = new QTimer(this); animTmr->setSingleShot(true); // single-shot diff --git a/events.cpp b/events.cpp index 5defd4d29e..55e52baa69 100644 --- a/events.cpp +++ b/events.cpp @@ -302,9 +302,9 @@ bool Workspace::workspaceEvent( XEvent * e ) // If the system tray gets destroyed, the system tray // icons automatically get unmapped, reparented and mapped // again to the closest non-client ancestor due to - // QXEmbed's SaveSet feature. Unfortunatly with kicker + // QXEmbed's SaveSet feature. Unfortunately with kicker // this closest ancestor is not the root window, but our - // decoration, so we reparent explicitely back to the root + // decoration, so we reparent explicitly back to the root // window. XEvent ev; WId w = e->xunmap.window; diff --git a/kcmkwin/kwindecoration/buttons.cpp b/kcmkwin/kwindecoration/buttons.cpp index 55de619db5..2ec7715bc1 100644 --- a/kcmkwin/kwindecoration/buttons.cpp +++ b/kcmkwin/kwindecoration/buttons.cpp @@ -393,7 +393,7 @@ void ButtonDropSite::dropEvent( QDropEvent* e ) } else { ButtonDropSiteItem *aboveItem = buttonAt(p); if (!aboveItem) - return; // invalid drop. hasn't occured _over_ a button (or left/right dropArea), return... + return; // invalid drop. hasn't occurred _over_ a button (or left/right dropArea), return... ButtonList::iterator it; if (!getItemIterator(aboveItem, buttonList, it) ) { diff --git a/lib/kcommondecoration.cpp b/lib/kcommondecoration.cpp index 22e347fa22..0ff7f0e547 100644 --- a/lib/kcommondecoration.cpp +++ b/lib/kcommondecoration.cpp @@ -153,7 +153,7 @@ void KCommonDecoration::borders( int& left, int& right, int& top, int& bottom ) layoutMetric(LM_TitleEdgeTop) + layoutMetric(LM_TitleEdgeBottom); - updateLayout(); // TODO!! don't call everytime we are in ::borders + updateLayout(); // TODO!! don't call every time we are in ::borders } void KCommonDecoration::updateLayout() const diff --git a/sm.cpp b/sm.cpp index ff88c8e751..a7e4accade 100644 --- a/sm.cpp +++ b/sm.cpp @@ -314,7 +314,7 @@ NET::WindowType Workspace::txtToWindowType( const char* txt ) // Therefore it's temporarily disabled during session saving. Start of // session saving can be detected in SessionManaged::saveState() above, // but Qt doesn't have API for saying when session saved finished (either -// successfully, or was cancelled). Therefore, create another connection +// successfully, or was canceled). Therefore, create another connection // to session manager, that will provide this information. static void save_yourself( SmcConn conn_P, SmPointer ptr, int, Bool, int, Bool ) {