You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/kde-misc/translatoid/files/compilefix-1.1.0.patch

39 lines
1.1 KiB

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 05500f3..a82b463 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -46,4 +46,3 @@ install(FILES translatoid.db DESTINATION ${DATA_INSTALL_DIR}/translatoid)
add_subdirectory(icons)
add_subdirectory(kbflags)
-add_subdirectory(cmake)
diff --git a/icons/CMakeLists.txt b/icons/CMakeLists.txt
new file mode 100644
index 0000000..02e3c9e
--- /dev/null
+++ b/icons/CMakeLists.txt
@@ -0,0 +1 @@
+kde4_install_icons(${ICON_INSTALL_DIR})
diff --git a/ktranslatoid.cpp b/ktranslatoid.cpp
index e0fd7ca..2a60548 100644
--- a/ktranslatoid.cpp
+++ b/ktranslatoid.cpp
@@ -26,6 +26,8 @@
#include <QTextCodec>
#include <QToolButton>
#include <QTreeView>
+#include <QApplication>
+#include <QTextEdit>
#include <KConfigDialog>
#include <KDebug>
@@ -550,7 +553,7 @@ void KTranslatoid::readConfig()
{
KConfigGroup cg = config();
- QString a = cg.readEntry("lsource", QString("fr"));
+ QString a = cg.readEntry("lsource", QString("ru"));
QString b = cg.readEntry("lresult", QString("en"));
m_autoPaste = cg.readEntry("autoPaste", true);
m_autoTranslate = cg.readEntry("autoTranslate", true);