Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit e8811b5d authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor typos and EBN issue

parent ab62b2b1
......@@ -87,7 +87,7 @@ private:
int card(int p, int pos) const;
/**
* Take aways card of given player on given position
* Take away card of given player on given position
* @param p player [0,1]
* @param pos Position [0-7]
* @return The card id.
......
......@@ -76,7 +76,7 @@ public:
void deal(Player */*player*/, int /*position*/) {}
/**
* Play a card on the display - unsused.
* Play a card on the display - unused.
*/
void play(int /*cardNumber*/, int /*playerNumber*/, int /*phase*/) override {}
......
......@@ -396,7 +396,7 @@ void Mainwindow::initGUI()
startPlayerAct->setItems(list);
if (global_demo_mode) startPlayerAct->setEnabled(false);
// Determine who player player 1
// Determine who plays player 1
KSelectAction *player1Act = new KSelectAction(i18n("Player &1 Played By"), this);
actionCollection()->addAction(QLatin1String("player1"), player1Act);
connect(player1Act, static_cast<void (KSelectAction::*)(int)>(&KSelectAction::triggered), this, &Mainwindow::menuPlayer1By);
......@@ -408,7 +408,7 @@ void Mainwindow::initGUI()
player1Act->setItems(list);
if (global_demo_mode) player1Act->setEnabled(false);
// Determine who player player 2
// Determine who plays player 2
KSelectAction *player2Act = new KSelectAction(i18n("Player &2 Played By"), this);
actionCollection()->addAction(QLatin1String("player2"), player2Act);
connect(player2Act, static_cast<void (KSelectAction::*)(int)>(&KSelectAction::triggered), this, &Mainwindow::menuPlayer2By);
......
......@@ -21,6 +21,9 @@
// General includes
// #include <typeinfo>
// Own include
#include "thememanager.h"
// Qt includes
#include <QImage>
#include <QPixmap>
......@@ -31,7 +34,6 @@
#include <KConfigGroup>
// Local includes
#include "thememanager.h"
#include "lskat_debug.h"
#include "lskatglobal.h"
#include "deck.h"
......
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