From 0aaf68de74bb5822190d4c5d9efe3b34eb42c004 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 4 Oct 2014 16:52:03 -0500 Subject: [PATCH] Properly set Compare button icon This relates to Bug 2143 --- kompare/kompare_shell.cpp | 2 +- kompare/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kompare/kompare_shell.cpp b/kompare/kompare_shell.cpp index 66c951c0..6ab18315 100644 --- a/kompare/kompare_shell.cpp +++ b/kompare/kompare_shell.cpp @@ -399,7 +399,7 @@ void KompareShell::slotFileCompareFiles() dialog->setFirstGroupBoxTitle( i18n( "Source" ) ); dialog->setSecondGroupBoxTitle( i18n( "Destination" ) ); - KGuiItem compareGuiItem( i18n( "Compare" ), TQString(), i18n( "Compare these files or folders" ), i18n( "If you have entered 2 filenames or 2 folders in the fields in this dialog then this button will be enabled and pressing it will start a comparison of the entered files or folders. " ) ); + KGuiItem compareGuiItem( i18n( "Compare" ), "button_ok", i18n( "Compare these files or folders" ), i18n( "If you have entered 2 filenames or 2 folders in the fields in this dialog then this button will be enabled and pressing it will start a comparison of the entered files or folders. " ) ); dialog->setButtonOK( compareGuiItem ); dialog->setGroup( "Recent Compare Files" ); diff --git a/kompare/main.cpp b/kompare/main.cpp index 7c93e16c..811bde3d 100644 --- a/kompare/main.cpp +++ b/kompare/main.cpp @@ -186,7 +186,7 @@ int main(int argc, char *argv[]) dialog->setFirstGroupBoxTitle( i18n( "Source" ) ); dialog->setSecondGroupBoxTitle( i18n( "Destination" ) ); - KGuiItem compareGuiItem( i18n( "Compare" ), TQString(), i18n( "Compare these files or folder" ), i18n( "If you have entered 2 filenames or 2 folders in the fields in this dialog then this button will be enabled and pressing it will start a comparison of the entered files or folders. " ) ); + KGuiItem compareGuiItem( i18n( "Compare" ), "button_ok", i18n( "Compare these files or folder" ), i18n( "If you have entered 2 filenames or 2 folders in the fields in this dialog then this button will be enabled and pressing it will start a comparison of the entered files or folders. " ) ); dialog->setButtonOK( compareGuiItem ); dialog->setGroup( "Recent Compare Files" );