Przeglądaj źródła

Add README file

Kandrashin Denis 12 lat temu
rodzic
commit
b70ee1dfc4
2 zmienionych plików z 11 dodań i 1 usunięć
  1. 9 0
      README
  2. 2 1
      source/fb2text.cpp

+ 9 - 0
README

@@ -0,0 +1,9 @@
+fb2edit 0.0.7 (c) Denis Kandrashin, 2012
+
+Distribution: source codes are distributed under the terms 
+  of GNU General Public License (GPL).
+  See LICENSE file for details.
+
+Project homepage: http://fb2edit.lintest.ru
+
+You can contact author by email: mail@lintest.ru

+ 2 - 1
source/fb2text.cpp

@@ -382,7 +382,8 @@ QString FbTextPage::location()
 QString FbTextPage::status()
 {
     QString javascript = jScript("get_status.js");
-    return mainFrame()->evaluateJavaScript(javascript).toString();
+    QString status = mainFrame()->evaluateJavaScript(javascript).toString();
+    return status.replace("FB:", "");
 }
 
 void FbTextPage::loadFinished()