[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [parley] /: Fix minor EBN issues and typos
From:       Yuri Chornoivan <null () kde ! org>
Date:       2018-09-27 19:13:33
Message-ID: E1g5bjB-0005nK-Gq () code ! kde ! org
[Download RAW message or body]

Git commit 8b5b22192e655b20977e6b88ac48ad61aea21a94 by Yuri Chornoivan.
Committed on 27/09/2018 at 19:13.
Pushed by yurchor into branch 'master'.

Fix minor EBN issues and typos

M  +2    -2    plugins/wiktionary/wiktionary_sound.py
M  +2    -1    src/dashboard/collectionwidget.cpp
M  +0    -2    src/dashboard/dashboard.cpp
M  +1    -1    src/editor/vocabularydelegate.cpp
M  +2    -2    src/main.cpp
M  +1    -1    src/parleydocument.cpp
M  +0    -1    src/practice/imagewidget.cpp

https://commits.kde.org/parley/8b5b22192e655b20977e6b88ac48ad61aea21a94

diff --git a/plugins/wiktionary/wiktionary_sound.py b/plugins/wiktionary/wiktionary_sound.py
index 58bacb69..494efb24 100644
--- a/plugins/wiktionary/wiktionary_sound.py
+++ b/plugins/wiktionary/wiktionary_sound.py
@@ -47,10 +47,10 @@ def fetchSoundForTranslation(word):
         if (bFound == 0):
             print 'Language:', wikiLocale, ' Word: ', word.text
             soundfile = getWikiObject(wikiLocale, word.text, None)
-            # check for specific pronounciation for nouns
+            # check for specific pronunciation for nouns
             if soundfile == None:
                 soundfile = getWikiObject(wikiLocale, word.text, 'noun')
-            # check for specific pronounciation for verbs
+            # check for specific pronunciation for verbs
             if soundfile == None:
                 soundfile = getWikiObject(wikiLocale, word.text, 'verb')
             if soundfile:
diff --git a/src/dashboard/collectionwidget.cpp b/src/dashboard/collectionwidget.cpp
index 74b19d5a..92db9389 100755
--- a/src/dashboard/collectionwidget.cpp
+++ b/src/dashboard/collectionwidget.cpp
@@ -23,7 +23,8 @@
 #include <klocalizedstring.h>
 
 // Qt
-#include <QtGui>
+#include <QPainter>
+#include <QPen>
 #include <QColor>
 #include <QPushButton>
 #include <QGraphicsDropShadowEffect>
diff --git a/src/dashboard/dashboard.cpp b/src/dashboard/dashboard.cpp
index 8c01b319..4d861785 100644
--- a/src/dashboard/dashboard.cpp
+++ b/src/dashboard/dashboard.cpp
@@ -13,8 +13,6 @@
 
 #include "dashboard.h"
 
-#include <Qt>
-#include <QtGui>
 #include <QTimer>
 #include <QAction>
 #include <QMessageBox>
diff --git a/src/editor/vocabularydelegate.cpp b/src/editor/vocabularydelegate.cpp
index 4b037606..3cbdf7fe 100644
--- a/src/editor/vocabularydelegate.cpp
+++ b/src/editor/vocabularydelegate.cpp
@@ -33,7 +33,7 @@
 #include <QHeaderView>
 #include <QDBusInterface>
 #include <QKeyEvent>
-#include <QtGui>
+#include <QPainter>
 #include <QToolTip>
 
 using namespace Editor;
diff --git a/src/main.cpp b/src/main.cpp
index 9ce78282..f3f1cfd1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -24,7 +24,7 @@
 /// @file main.cpp
 
 #include "parleymainwindow.h"
-#include "config-parley.h"
+#include <config-parley.h>
 
 #include <KAboutData>
 #include <KCrash>
@@ -144,4 +144,4 @@ int main(int argc, char* argv[])
         parleyApp->show();
         return app.exec();
     }
-}
\ No newline at end of file
+}
diff --git a/src/parleydocument.cpp b/src/parleydocument.cpp
index 0e065c3d..be1b35e5 100644
--- a/src/parleydocument.cpp
+++ b/src/parleydocument.cpp
@@ -15,7 +15,7 @@
 
 #include "parleydocument.h"
 
-#include "../config-parley.h"
+#include <config-parley.h>
 #include "parleymainwindow.h"
 #include "editor/editor.h"
 #include "prefs.h"
diff --git a/src/practice/imagewidget.cpp b/src/practice/imagewidget.cpp
index 4a359fff..8dd473b1 100644
--- a/src/practice/imagewidget.cpp
+++ b/src/practice/imagewidget.cpp
@@ -20,7 +20,6 @@
 #include <QTimeLine>
 
 #include <QDebug>
-#include <QtWidgets>
 
 #if defined(Q_WS_X11)
 #include <X11/Xlib.h>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic