Branch: master

0aaf68de 2014-10-04 16:52:03 Timothy Pearson
Properly set Compare button icon
This relates to Bug 2143
M kompare/kompare_shell.cpp
M kompare/main.cpp
diff --git a/kompare/kompare_shell.cpp b/kompare/kompare_shell.cpp
index 66c951c..6ab1831 100644
--- a/kompare/kompare_shell.cpp
+++ b/kompare/kompare_shell.cpp
@@ -399,7 +399,7 @@
 	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 7c93e16..811bde3 100644
--- a/kompare/main.cpp
+++ b/kompare/main.cpp
@@ -186,7 +186,7 @@
 			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" );