67 |
|
msgBox.exec(); |
68 |
|
} |
69 |
|
|
70 |
< |
bool showQuestionPopUp(QWidget * parent, QString message){ |
71 |
< |
return QMessageBox::question (parent, "Are you sure?", message, QMessageBox::Yes, QMessageBox::No)==QMessageBox::Yes; |
70 |
> |
bool showQuestionPopUp(QWidget * parent, QString message, QMessageBox::StandardButton standardButton){ |
71 |
> |
return QMessageBox::question (parent, "Are you sure?", message, QMessageBox::Yes | QMessageBox::No, standardButton)==QMessageBox::Yes; |
72 |
|
} |
73 |
|
|
74 |
|
QStringList multipleDirDialog(QString title){ |
161 |
|
return false; |
162 |
|
} |
163 |
|
} else { |
164 |
< |
qDebug("Unhandled item" + info.filePath().toAscii() + "in cpDir"); |
164 |
> |
qDebug("Unhandled item" + info.filePath().toUtf8() + "in cpDir"); |
165 |
|
} |
166 |
|
} |
167 |
|
return true; |