projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use null QVariant instead of "ALL" for select limit on psql
[quassel.git]
/
src
/
common
/
transfer.cpp
diff --git
a/src/common/transfer.cpp
b/src/common/transfer.cpp
index
e9c81f7
..
6037513
100644
(file)
--- a/
src/common/transfer.cpp
+++ b/
src/common/transfer.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-201
3
by the Quassel Project *
+ * Copyright (C) 2005-201
4
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-171,3
+171,12
@@
void Transfer::setNick(const QString &nick)
emit nickChanged(nick);
}
}
emit nickChanged(nick);
}
}
+
+
+void Transfer::setError(const QString &errorString)
+{
+ qWarning() << Q_FUNC_INFO << errorString;
+ emit error(errorString);
+ setState(Failed);
+ cleanUp();
+}