mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kioslave: create GUI application for sftp and smb slaves
fixes crash when authorization is required Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
1febe6b76d
commit
d03d16c94b
2 changed files with 4 additions and 4 deletions
|
@ -27,7 +27,6 @@
|
|||
#include <cstring>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <QtCore/QCoreApplication>
|
||||
#include <QtCore/QBuffer>
|
||||
#include <QtCore/QByteArray>
|
||||
#include <QtCore/QDir>
|
||||
|
@ -36,6 +35,7 @@
|
|||
#include <QtCore/QString>
|
||||
#include <QtCore/QVarLengthArray>
|
||||
#include <QtCore/QDateTime>
|
||||
#include <QtGui/QApplication>
|
||||
|
||||
#include <kapplication.h>
|
||||
#include <kuser.h>
|
||||
|
@ -69,7 +69,7 @@ extern "C"
|
|||
{
|
||||
int KDE_EXPORT kdemain( int argc, char **argv )
|
||||
{
|
||||
QCoreApplication app(argc, argv);
|
||||
QApplication app(argc, argv);
|
||||
KComponentData componentData( "kio_sftp" );
|
||||
(void) KGlobal::locale();
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include "kio_smb_internal.h"
|
||||
#include <kcomponentdata.h>
|
||||
#include <kdemacros.h>
|
||||
#include <QCoreApplication>
|
||||
#include <QApplication>
|
||||
|
||||
//===========================================================================
|
||||
SMBSlave::SMBSlave(const QByteArray& pool, const QByteArray& app)
|
||||
|
@ -57,7 +57,7 @@ SMBSlave::~SMBSlave()
|
|||
//===========================================================================
|
||||
int KDE_EXPORT kdemain( int argc, char **argv )
|
||||
{
|
||||
QCoreApplication app(argc, argv);
|
||||
QApplication app(argc, argv);
|
||||
KComponentData componentData("kio_smb");
|
||||
if( argc != 4 )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue