diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-22 11:55:15 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-22 11:55:15 -0500 |
commit | 31aade291577e3c841efd553dd31d83275583dd5 (patch) | |
tree | f710a6c25faaab85db80692b6f52fe1fa288e0a3 | |
parent | 9226d5bf328f1a1a5780c35eece8f8238f8d76ef (diff) | |
download | tdeedu-31aade291577e3c841efd553dd31d83275583dd5.tar.gz tdeedu-31aade291577e3c841efd553dd31d83275583dd5.zip |
Repair mimetype icon usage, part 1. The following are not fully verified in source as of this commit due to ubiquity: info, unknown
-rw-r--r-- | keduca/keduca/keducaprefs.cpp | 2 | ||||
-rw-r--r-- | kstars/kstars/skymapevents.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/keduca/keduca/keducaprefs.cpp b/keduca/keduca/keducaprefs.cpp index 9abbea6a..c8f3ce0d 100644 --- a/keduca/keduca/keducaprefs.cpp +++ b/keduca/keduca/keducaprefs.cpp @@ -38,7 +38,7 @@ KEducaPrefs::~KEducaPrefs(){} /** Set page general */ void KEducaPrefs::setPageGeneral() { - TQVBox *mainFrame = addVBoxPage( i18n("Miscellaneous"), i18n("Various Settings"), DesktopIcon("application-vnd.tde.misc")); + TQVBox *mainFrame = addVBoxPage( i18n("Miscellaneous"), i18n("Various Settings"), DesktopIcon("misc")); diff --git a/kstars/kstars/skymapevents.cpp b/kstars/kstars/skymapevents.cpp index d14f97a5..8bc88002 100644 --- a/kstars/kstars/skymapevents.cpp +++ b/kstars/kstars/skymapevents.cpp @@ -670,17 +670,17 @@ void SkyMap::mousePressEvent( TQMouseEvent *e ) { if ( clickedObject() ) { setClickedPoint( clickedObject() ); - + if ( e->button() == Qt::RightButton ) { clickedObject()->showPopupMenu( pmenu, TQCursor::pos() ); } - + if ( ksw && e->button() == Qt::LeftButton ) { ksw->statusBar()->changeItem( clickedObject()->translatedLongName(), 0 ); } } else { //Empty sky selected. If left-click, display "nothing" in the status bar. - //If right-click, open "empty" popup menu. + //If right-click, open "empty" popup menu. setClickedObject( NULL ); switch (e->button()) { @@ -692,7 +692,7 @@ void SkyMap::mousePressEvent( TQMouseEvent *e ) { SkyObject *nullObj = new SkyObject( SkyObject::TYPE_UNKNOWN, clickedPoint()->ra()->Hours(), clickedPoint()->dec()->Degrees() ); pmenu->createEmptyMenu( nullObj ); delete nullObj; - + pmenu->popup( TQCursor::pos() ); break; } |