Commit 67c4d8ff authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa
Browse files

No need to override the cursor here.

svn path=/trunk/KDE/kdeutils/ark/; revision=978708
parent a06825f2
......@@ -69,8 +69,6 @@ namespace Kerfuffle
void OverwriteQuery::execute()
{
QApplication::setOverrideCursor( QCursor( Qt::ArrowCursor ) );
KIO::RenameDialog_Mode mode = (KIO::RenameDialog_Mode)(KIO::M_OVERWRITE | KIO::M_SKIP);
if (m_noRenameMode)
{
......@@ -97,8 +95,6 @@ namespace Kerfuffle
m_data["newFilename"] = dialog->newDestUrl().path();
setResponse(dialog->result());
QApplication::restoreOverrideCursor();
}
bool OverwriteQuery::responseCancelled()
......@@ -162,8 +158,6 @@ namespace Kerfuffle
void PasswordNeededQuery::execute()
{
QApplication::setOverrideCursor( QCursor( Qt::ArrowCursor ) );
QPointer<KPasswordDialog> dlg = new KPasswordDialog( NULL );
dlg->setPrompt( i18n("The archive '%1' is password protected. Please enter the password to extract the file.", m_data.value("archiveFilename").toString()) );
......@@ -180,8 +174,6 @@ namespace Kerfuffle
m_data["password"] = dlg->password();
setResponse(true);
}
QApplication::restoreOverrideCursor();
}
QString PasswordNeededQuery::password()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment