scythia/scythia-0.9.2-fix.patch

44 lines
1.3 KiB
Diff
Raw Permalink Normal View History

diff -ruN -F'^f' scythia.orig/compil scythia/compil
--- scythia.orig/compil 2007-07-05 13:15:26.000000000 +0200
+++ scythia/compil 2007-08-26 10:23:41.000000000 +0200
@@ -21,13 +21,13 @@ for fichier in *.html; do
echo "################# COMPIL ##################"
cd ../../
if [ "$1" == "debug" ] ; then
- qmake-qt4 "CONFIG+=debug_and_release" scythia.pro
+ qmake4 "CONFIG+=debug_and_release" scythia.pro
else
- qmake-qt4 scythia.pro
+ qmake4 scythia.pro
fi
-lupdate-qt4 scythia.pro
-lrelease-qt4 scythia.pro
+lupdate4 scythia.pro
+lrelease4 scythia.pro
make clean
-make $1
+make "$@"
diff -ruN -F'^f' scythia.orig/src/scythia.cpp scythia/src/scythia.cpp
--- scythia.orig/src/scythia.cpp 2007-07-05 19:08:41.000000000 +0200
+++ scythia/src/scythia.cpp 2007-08-26 10:24:09.000000000 +0200
@@ -32,7 +32,7 @@
// Create the tray icon
trayIcon = new QSystemTrayIcon(this);
- trayIcon->setIcon(QIcon(":pixmaps/network.png"));
+ trayIcon->setIcon(QIcon(":pixmaps/scythia.png"));
trayIcon->setToolTip("Scythia");
trayIcon->setContextMenu(menu);
@@ -117,6 +117,8 @@
listProgs = QString(conf.readAll());
conf.close();
}
+ else
+ listProgs = QString("xdg-open\nxdg-open\nxdg-open\nxdg-open\nxdg-open\nxdg-open\n");
connect(ftpList, SIGNAL(buttonClicked(QTreeWidgetItem *)),
SLOT(slotFtpSelection(QTreeWidgetItem *)));