mirror of
https://github.com/QuasarApp/SimpleQmlNotify.git
synced 2025-05-04 17:29:36 +00:00
fix setQestion retur nvalue
This commit is contained in:
parent
8896d568c7
commit
c11bd8131d
@ -53,8 +53,8 @@ void NotificationService::setNotify(const QString &title,
|
||||
static_cast<NotificationData::Type>(type)));
|
||||
}
|
||||
|
||||
void NotificationService::setQuestion(const QString &title, const QString &text, const QString &img, int code) {
|
||||
setQuestion(NotificationData(title, text, img, code));
|
||||
int NotificationService::setQuestion(const QString &title, const QString &text, const QString &img, int code) {
|
||||
return setQuestion(NotificationData(title, text, img, code));
|
||||
}
|
||||
|
||||
NotificationService *NotificationService::getService() {
|
||||
|
@ -71,7 +71,7 @@ public:
|
||||
* @param img are url to image of a queston window.
|
||||
* @param code are code of question. This code must be sendet to the questionComplete method after buttons clik.
|
||||
*/
|
||||
Q_INVOKABLE void setQuestion(const QString& title = "",
|
||||
Q_INVOKABLE int setQuestion(const QString& title = "",
|
||||
const QString& text = "",
|
||||
const QString& img = "",
|
||||
int code = 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user