UI QT: fix unused variable 'show_delay_' error

Change-Id: I966d839c755090679bb3fc79d2ba36645e561c19
Reviewed-on: https://code.wireshark.org/review/10633
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Juan Matias 2015-09-23 23:49:27 +02:00 committed by Michael Mann
parent fd89ed936b
commit 40a43bd09b
1 changed files with 3 additions and 0 deletions

View File

@ -281,7 +281,10 @@ void ProgressFrame::on_stopButton_clicked()
emit stopLoading();
}
#if !defined(Q_OS_MAC) || QT_VERSION > QT_VERSION_CHECK(5, 0, 0)
const int show_delay_ = 500; // ms
#endif
void ProgressFrame::show(bool animate, bool terminate_is_stop, gboolean *stop_flag)
{
terminate_is_stop_ = terminate_is_stop;