videoplayer new
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
Index: smplayer-0.6.9_20100211/src/myaction.cpp
|
||||
===================================================================
|
||||
--- smplayer-0.6.9_20100211.orig/src/myaction.cpp
|
||||
+++ smplayer-0.6.9_20100211/src/myaction.cpp
|
||||
@@ -72,14 +72,14 @@ void MyAction::change(const QIcon & icon
|
||||
}
|
||||
|
||||
void MyAction::change(const QString & text ) {
|
||||
- setText( text );
|
||||
+ setText( text.trimmed() );
|
||||
|
||||
QString accel_text = shortcut().toString();
|
||||
|
||||
QString s = text;
|
||||
s.replace("&","");
|
||||
if (!accel_text.isEmpty()) {
|
||||
- setToolTip( s + " ("+ accel_text +")");
|
||||
+ setToolTip( s.trimmed() + " ("+ tr(accel_text.toAscii().constData()) +")");
|
||||
setIconText( s );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user